Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Solved: glibc upgrade broke my dns resolution
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jamesrt
n00b
n00b


Joined: 09 Sep 2003
Posts: 47
Location: New Zealand

PostPosted: Wed Mar 30, 2005 1:28 am    Post subject: Solved: glibc upgrade broke my dns resolution Reply with quote

The recent glibc 2.3.4-20041102 ebuild has broken dns lookups on my machine, and I was wondering if anyone knows of a workaround.

Rightly or wrongly (and I know it's really 'wrongly'), my employer has an internal DNS system which has it's own root (or "." domain), and a large number of names are entered into it.

With glibc 2.3.4.20040808, I could still resolve names from the "." domain, i.e. "ping machine" would find "machine."; but now with glibc 2.3.4.20041102 installed, this no longer works. Nothing else has changed with respect to DNS servers, nsswitch.conf, resolv.conf, or anything. Reverting back to glibc 2.3.4.20040808 makes it all work again.

On our Vendor's unix servers, we can specify "." in the resolv.conf file in the search order, and it works OK; but this doesn't work on my gentoo PC either.

Does anyone know of a magical trick I can do to get machines in our internal "." to resolve correctly??

Thanks!
Back to top
View user's profile Send private message
jamesrt
n00b
n00b


Joined: 09 Sep 2003
Posts: 47
Location: New Zealand

PostPosted: Thu Mar 31, 2005 12:13 am    Post subject: Reply with quote

The solution:

Add the following to /etc/resolv.conf

option ndots:0

Thanks to SpanKY for pointing that one out....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum