[bind10-dev] sorting RDATA in-memory

Mark Andrews marka at isc.org
Tue Feb 12 05:19:51 UTC 2013


In message <m2wquerxo0.wl%jinmei at isc.org>, JINMEI Tatuya / =?ISO-2022-JP?B?GyRC
P0BMQEMjOkgbKEI=?= writes:
> This is a question about the BIND 9 implementation, but I hope someone
> in this list may have some clue.
> 
> BIND 9 sorts RRs of the same RRset in the DNSSEC order when it loads
> the records into memory (unless the special compile time options is
> specified).  Is there any reason for this behavior?  Obviously we need
> to sort them when we need to compute the signature of the RRset, but I
> don't see the need for it in answering queries.  I'm curious about
> whether there's any other reason for the convenience of calculating
> the signature.
> 
> Hopefully someone can clarify that...

Basically so there is a deterministic order.  Merges are a little easier.

-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org


More information about the bind10-dev mailing list