[nsd-users] NSD seems to force PTR RDATA to lower-case

Niall O'Reilly niall.oreilly at ucd.ie
Mon Jul 6 18:41:25 UTC 2020


On 6 Jul 2020, at 15:33, Wouter Wijngaards via nsd-users wrote:

> Yes, NSD lowercases the zone data.  It always has done that.

Thanks for the information.

> It does
> this so that compares are not case insensitive any more in the code,
> that is faster.

So when is RDATA an object of comparison?

> In any case you cannot (reliably) transfer it, because compression is
> case insensitive.

This statement seems to be at odds with (Standards Track) RFC5936:
"Hence, name compression in an AXFR message SHOULD be performed in a
case-preserving manner"

> And so is lookup of data.

I don't understand.
The argument to DNS lookup is a tuple (name, class, type).
RDATA is part of the result.

Best regards,
Niall


More information about the nsd-users mailing list