NLnetLabs / ldns

LDNS is a DNS library that facilitates DNS tool programming
https://nlnetlabs.nl/ldns
BSD 3-Clause "New" or "Revised" License
285 stars 94 forks source link

ldns-read-zone cannot parse RR type "A6" #236

Open falz opened 2 months ago

falz commented 2 months ago

If a zone has an A6 RR type in it such as:

foo.bar. 21600 IN    A6      0 2001:db8:6880:62:218:8bff:fedd:db8d

ldns-read-zone will fail with

Syntax error, could not parse the RR's rdata at 897

Indeed A6 zone types are historic - https://www.rfc-editor.org/rfc/rfc6563.html but noting this in case this is not intended behaviour.