On Saturday 30 May 2009 23:59:46 Timur Aydin wrote: > Graham Murray wrote: > > Timur Aydin <t...@taydin.org> writes: > >> Hi, > >> > >> I have synced my ~x86 system yesterday and after it completed, the > >> resolver doesn't work for some programs anymore. For example, ping > >> <hostname> says "unknown host name". It doesn't even contact the dns > >> server, which is running on the same host. But dig <hostname> works > >> fine. Also, using the IP address directly, I can access the internet. > >> > >> I am suspecting that the new glibc 2.10 is causing this. Anybody else > >> having this issue? > > > > I had this issue a couple of weeks ago. I think it was the upgrade to > > net-dns/openresolv-3.3.2 which was responsible. The solution was to > > edit etc/resolvconf.conf and uncomment the line > > name_servers=127.0.0.1 > > That's what I tried yesterday and it resolved the problem. So it seems > the new resolver does not default to checking localhost as a dns server > and needs to be explicitely told to do so...
Which is a sensible default choice - few machines these days run a local resolver. A better default is whatever the DHCP server says the resolvers are. -- alan dot mckinnon at gmail dot com