Interesting thing with DNS requests

Thiago Macieira thiago at kde.org
Thu Dec 7 18:17:49 GMT 2006


Fredrik Johansson wrote:
>> >Also if that is the case shouldn't it try IPv6 once and if it fails
>> > go for plain IP for future requests?
>>
>> It does. DNS works perfectly in that aspect. The nameserver caches the
>> reply, but unfortunately it doesn't cache a no-reply for a field. I
>> don't know if nscd does.
>
>Well given that the DNS packets fell from 656 to 176 by setting
> KDE_NO_IPV6 are you sure it is working? (Perhaps that was what you
> meant by the glibc bug)

Yes, it's working perfectly. The extra lookups are the IPv6 lookups that 
you disabled.

But, like I said, the thing is that no caching demon I know caches an 
empty reply. They cache replies with records and they cache negative 
replies. But they don't cache empty replies -- which is what the IPv6 
replies are.

You want to contact the maintainers of nscd and of named to request that 
feature.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20061207/0699f2a5/attachment.sig>


More information about the kfm-devel mailing list