Re: [gentoo-user] nscd; what am I doing wrong?

2005-12-23 Thread Richard Fish
On 12/22/05, Walter Dnes [EMAIL PROTECTED] wrote: On Wed, Dec 21, 2005 at 09:07:12PM -0700, Richard Fish wrote Everything looks ok. Could you try: strace -f -o /tmp/strace.out ping -c 4 www.google.com I uncommented most of nscd.conf and rebooted, but still no luck. I don't know the

Re: [gentoo-user] nscd; what am I doing wrong?

2005-12-23 Thread Lares Moreau
There is something strange here When I lookup www.google.com, I get: carcharias ~ # host www.google.com www.google.com has address 66.102.7.104 carcharias ~ # host 66.102.7.104 104.7.102.66.in-addr.arpa domain name pointer www.google.com. However for www.google.com, you get

Re: [gentoo-user] nscd; what am I doing wrong?

2005-12-23 Thread Walter Dnes
On Fri, Dec 23, 2005 at 10:26:30AM -0700, Richard Fish wrote If I had to make a guess, I would say that your ISP has got some kind of proxy service setup that lies to you about the address of www.google.com, so that you actually connect through one of their servers. If that is the case,

Re: [gentoo-user] nscd; what am I doing wrong?

2005-12-22 Thread Benno Schulenberg
Walter Dnes wrote: But ping -c 4 google.com sends traffic to 192.168.123.254 port 53 each time, even if only 30 seconds apart. This was confirmed by running tcpdump -n dst port 53 in another console and watching the output. Same thing here. But apparently ping somehow bypasses the cache,

Re: [gentoo-user] nscd; what am I doing wrong?

2005-12-22 Thread Richard Fish
On 12/22/05, Benno Schulenberg [EMAIL PROTECTED] wrote: Walter Dnes wrote: But ping -c 4 google.com sends traffic to 192.168.123.254 port 53 each time, even if only 30 seconds apart. This was confirmed by running tcpdump -n dst port 53 in another console and watching the output. Same

Re: [gentoo-user] nscd; what am I doing wrong?

2005-12-22 Thread Benno Schulenberg
Richard Fish wrote: On 12/22/05, Benno Schulenberg [EMAIL PROTECTED] wrote: apparently ping somehow bypasses the cache, because when doing several wgets on a single domain, only the first time a DNS query is sent out. Interesting. It doesn't happen on my system. Even stranger, a 'ping

Re: [gentoo-user] nscd; what am I doing wrong?

2005-12-22 Thread Walter Dnes
On Wed, Dec 21, 2005 at 09:07:12PM -0700, Richard Fish wrote Everything looks ok. Could you try: strace -f -o /tmp/strace.out ping -c 4 www.google.com I uncommented most of nscd.conf and rebooted, but still no luck. I don't know the attachment policy here, so I'm putting the stack trace

Re: [gentoo-user] nscd; what am I doing wrong?

2005-12-22 Thread Walter Dnes
On Thu, Dec 22, 2005 at 08:18:08PM +0100, Benno Schulenberg wrote Richard Fish wrote: What version and use flags do you have for net- [ebuild R ] net-misc/iputils-021109-r3 -doc -ipv6 -static 0 kB AOL Me too. /AOL Exact same version and flags. -- Walter Dnes [EMAIL PROTECTED] In

[gentoo-user] nscd; what am I doing wrong?

2005-12-21 Thread Walter Dnes
On Fri, Dec 09, 2005 at 05:08:55PM -0700, Richard Fish wrote nscd does this, and is much simpler. It is already installed as part of glibc. Just do rc-update -a nscd default. My system is connecting to the net, but nscd doesn't seem to be caching DNS requests. Yes, I did rc-update add

Re: [gentoo-user] nscd; what am I doing wrong?

2005-12-21 Thread Richard Fish
On 12/21/05, Walter Dnes [EMAIL PROTECTED] wrote: On Fri, Dec 09, 2005 at 05:08:55PM -0700, Richard Fish wrote nscd does this, and is much simpler. It is already installed as part of glibc. Just do rc-update -a nscd default. My system is connecting to the net, but nscd doesn't seem to