Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DNS resolution failure

Status
Not open for further replies.

jaytco

Vendor
Dec 13, 2001
88
US
I have a gentoo linux box and was doing an emerge and it died part way through. After the failure I was not able to resolve any dns names? IP connectivity is fine. /etc/nsswitch.conf and /etc/resolv.conf are data filled and I can ping my dns servers (same servers I use on my windows box, and they work). I am guessing that my gethostbyname functions are not working??? The only way I have to verify is via ping. I do not have dig or nslookup.
Is there a service that runs in the background that runs the get functions?? inetd? or am I just missing the obvious.

Thx Jay
 
You definitevly don't need inetd running, to find a host - I only start my inetd when I have to allow some ftp in the lan - mostly it's not running, but I can find global hosts fine.

Do you have /etc/host.conf
Code:
order hosts,bind
multi on

Do you get response, when inserting
Code:
[URL unfurl="true"]http://216.45.19.33[/URL]
into your browser?

seeking a job as java-programmer in Berlin:
 
I will check on the hosts.conf. I do not have a web browser installed yet. So I can not verify the wed.
 
After much effort, and a reload of the OS I found that for some reason Gentoo was only reading the first entry in /etc/resolv.conf. Just so happened that this DNS server was no longer providing DNS services (At lease would not return responce) but was still alive. And for some reason, it would not query the next DNS server in the list. Hmmmm

Thx for the help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top