Linux won't resolve domain names
Hi,
I'm making a new lightweight linux disribution for educational purposes. I can connect to the internet via ethernet but I can only get to places via IP address. Trying to browse to "google.com" will fail but browsing to googles IP will work.
So here is the contents and outputs of all relevant things:
resolv.conf:
Code:
# Generated by dhcpcd from eth0
# /etc/resolv.conf.head can replace this line
nameserver 192.168.1.1
# /etc/resolv.conf.head can replace this line
nsswitch.conf:
Code:
passwd: files
groups: files
hosts: dns files
networks: files
host google.com:
Code:
google.com A 173.194.36.104
ping google.com:
Code:
ping: google.com: Resolver Error 0 (no error)
wget google.com:
Code:
--2010-10-02 20:53:44-- http://google.com/
Resolving google.com... failed: No address associated with hostname.
wget: unable to resolve host address 'google.com'
Any help would be greatly appreciated.
Regards,
James