* [gentoo-user] Sync'ed my ~x86 system yesterday and now resolver stopped working
@ 2009-05-28 19:11 Timur Aydin
2009-05-29 22:29 ` Mike Kazantsev
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Timur Aydin @ 2009-05-28 19:11 UTC (permalink / raw
To: gentoo-user
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?
--
Timur
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Sync'ed my ~x86 system yesterday and now resolver stopped working
2009-05-28 19:11 [gentoo-user] Sync'ed my ~x86 system yesterday and now resolver stopped working Timur Aydin
@ 2009-05-29 22:29 ` Mike Kazantsev
2009-05-30 4:48 ` Graham Murray
2009-05-30 9:49 ` [gentoo-user] " Christer Ekholm
2 siblings, 0 replies; 6+ messages in thread
From: Mike Kazantsev @ 2009-05-29 22:29 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 804 bytes --]
On Thu, 28 May 2009 22:11:02 +0300
Timur Aydin <ta@taydin.org> wrote:
> 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?
Synced two ~x86 today and one more two days ago, but can't confirm the
issue - everything seem to be working fine.
All three are using nscd (part of glibc) to cache glibc requests,
but shutting it down doesn't seem to matter.
--
Mike Kazantsev // fraggod.net
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Sync'ed my ~x86 system yesterday and now resolver stopped working
2009-05-28 19:11 [gentoo-user] Sync'ed my ~x86 system yesterday and now resolver stopped working Timur Aydin
2009-05-29 22:29 ` Mike Kazantsev
@ 2009-05-30 4:48 ` Graham Murray
2009-05-30 21:59 ` Timur Aydin
2009-05-30 9:49 ` [gentoo-user] " Christer Ekholm
2 siblings, 1 reply; 6+ messages in thread
From: Graham Murray @ 2009-05-30 4:48 UTC (permalink / raw
To: gentoo-user
Timur Aydin <ta@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: Sync'ed my ~x86 system yesterday and now resolver stopped working
2009-05-28 19:11 [gentoo-user] Sync'ed my ~x86 system yesterday and now resolver stopped working Timur Aydin
2009-05-29 22:29 ` Mike Kazantsev
2009-05-30 4:48 ` Graham Murray
@ 2009-05-30 9:49 ` Christer Ekholm
2 siblings, 0 replies; 6+ messages in thread
From: Christer Ekholm @ 2009-05-30 9:49 UTC (permalink / raw
To: gentoo-user; +Cc: Timur Aydin
Timur Aydin <ta@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 experienced similar problem when I upgraded to glibc-2.10, but the
only thing I had to do was change from 'server' to 'nameserver' in
/etc/resolv.conf (as told by my 'man resolv.conf'). I don't know why I
had only 'server' before, perhaps that was allowed with earlier glibc.
--
Christer
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Sync'ed my ~x86 system yesterday and now resolver stopped working
2009-05-30 4:48 ` Graham Murray
@ 2009-05-30 21:59 ` Timur Aydin
2009-05-31 17:21 ` Alan McKinnon
0 siblings, 1 reply; 6+ messages in thread
From: Timur Aydin @ 2009-05-30 21:59 UTC (permalink / raw
To: gentoo-user
Graham Murray wrote:
> Timur Aydin <ta@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...
--
Timur
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Sync'ed my ~x86 system yesterday and now resolver stopped working
2009-05-30 21:59 ` Timur Aydin
@ 2009-05-31 17:21 ` Alan McKinnon
0 siblings, 0 replies; 6+ messages in thread
From: Alan McKinnon @ 2009-05-31 17:21 UTC (permalink / raw
To: gentoo-user
On Saturday 30 May 2009 23:59:46 Timur Aydin wrote:
> Graham Murray wrote:
> > Timur Aydin <ta@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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-05-31 17:23 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-28 19:11 [gentoo-user] Sync'ed my ~x86 system yesterday and now resolver stopped working Timur Aydin
2009-05-29 22:29 ` Mike Kazantsev
2009-05-30 4:48 ` Graham Murray
2009-05-30 21:59 ` Timur Aydin
2009-05-31 17:21 ` Alan McKinnon
2009-05-30 9:49 ` [gentoo-user] " Christer Ekholm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox