Closed nss-csis closed 6 months ago
In parse method of dnslib there is limited rtype for parsing, the others is hexing via binascii.hexlify(data) and bring back in HEXDUMP format. To fix it you need to unhex gated data with binascii.unhexlify(data)
P.S. \# - specify HEXDUMP format 18 - length of origin data in bytes 0A636<...>756B00 - the hexdump
At the moment we don't decode the DNAME rdata (which is why you get the generic hexdump output). The logic for DNAME substitution is pretty complex (see https://www.rfc-editor.org/rfc/rfc6672.html) - if anyone wants to volunteer a PR I'd be happy to merge this.
DNAME records are broken as this example shows:
To compare here is the result from
dig
:I think it is a matter of
DNAME
missing fromRDMAP
. Should I open a PR to fix it?