Martin.Snyder
July 11th, 2006, 10:10 AM
I've searched through the forums, and I don't think I've seen this exact issue elsewhere (yet). I have seen some very similar stuff though, so maybe my problem might shed some light on the underlying issue.
To summarize:
On a new installation of Ubuntu 6.0.6 Server, all DNS lookups fail for me. I was able to resolve this by setting my network to use a static IP instead of DHCP. What makes this issue slightly different than the others that I've seen is that my /etc/resolv.conf correctly lists the name server entry.
The machine in question is a P4 3.0Ghz Dell box (4700 series). It's connected as follows
Dell 4700
Netgear 10/100 switch
Linksys WRT54G Router - 192.168.0.1
Westell DSL Modem (Verizon DSL) - 192.168.1.1
The DSL modem is the DNS server for the network. Other machines on the network include:
Mandrake Linux 10.1 (server) (static IP)
Powerbook OSX 10.3 - DHCP
Windows XP SP 2 - DHCP
After the clean install, the ubuntu box cannot reach anything by DNS name. dig, host, nslookup all fail with no information, even with debug and verbose flags set. They just timout after 30 seconds or so and then report a generic failure.
As I mentioned before, /etc/resolv.conf correctly lists the name server. This file matches the file on my other linux box and the DNS server reported there (192.168.1.1) matches what all my other machines report. In addition, when I switch to static IP, name resolution is fine with the exact same resolv.conf file.
The machine can successfully reach local and external machines by IP address. This was confirmed with ping and wget.
This machine is supposed to have a static IP, so there's no issue that I'm personally looking to resolve. I would be happy to run any tests or diagnostics if it would help the experts here.
- Martin
To summarize:
On a new installation of Ubuntu 6.0.6 Server, all DNS lookups fail for me. I was able to resolve this by setting my network to use a static IP instead of DHCP. What makes this issue slightly different than the others that I've seen is that my /etc/resolv.conf correctly lists the name server entry.
The machine in question is a P4 3.0Ghz Dell box (4700 series). It's connected as follows
Dell 4700
Netgear 10/100 switch
Linksys WRT54G Router - 192.168.0.1
Westell DSL Modem (Verizon DSL) - 192.168.1.1
The DSL modem is the DNS server for the network. Other machines on the network include:
Mandrake Linux 10.1 (server) (static IP)
Powerbook OSX 10.3 - DHCP
Windows XP SP 2 - DHCP
After the clean install, the ubuntu box cannot reach anything by DNS name. dig, host, nslookup all fail with no information, even with debug and verbose flags set. They just timout after 30 seconds or so and then report a generic failure.
As I mentioned before, /etc/resolv.conf correctly lists the name server. This file matches the file on my other linux box and the DNS server reported there (192.168.1.1) matches what all my other machines report. In addition, when I switch to static IP, name resolution is fine with the exact same resolv.conf file.
The machine can successfully reach local and external machines by IP address. This was confirmed with ping and wget.
This machine is supposed to have a static IP, so there's no issue that I'm personally looking to resolve. I would be happy to run any tests or diagnostics if it would help the experts here.
- Martin