[Unbound-users] Strange result from Unbound cache

lst_hoe02 at kwsoft.de lst_hoe02 at kwsoft.de
Fri Nov 26 09:40:28 UTC 2010

Zitat von Hauke Lampe <lampe at hauke-lampe.de>:

> Hash: SHA1
> On 25.11.2010 21:02, lst_hoe02 at kwsoft.de wrote:
>>>> $ dig -b @ c.ns.secunia.com. +short
>> Yes, but i'm a little bit baffled that identical records are returned.
>> Does unbound cache it this way or are the records subtil different?
> Unbound just returns what the authoritative nameserver sent.
> Duplicate A records like this are often produced by djbdns' tinydns-data
> tool when its built-in shortcuts are used, e.g. multiple "&" records
> with address, which generate NS + A records.
> &example.org:
> &example.com:
> &example.net:
> would produce 1 NS record for example.{org,com,net} each and 3 A records
> for ns1.example.org.
>> Bind 9.7 only provide only one record for the same query.
> BIND removes duplicate nameserver addresses from responses, it seems.

It is not limited to the nameserver record case because query A record  
for d.ns.secunia.com deliver also two identical results. I guess Bind  
only deliver one result because the cache detects that the results are  
identical and stores only one instance, or maybe it isn't able to  
store two identical results in the cache anyway.

As it does not hurt i will simply ignore it further on.

Thanks for your input


More information about the Unbound-users mailing list