NLnetLabs / simdzone

Fast and standards compliant DNS zone parser
BSD 3-Clause "New" or "Revised" License
68 stars 13 forks source link

Fix some bugs and drop support for quoted domain names #138

Closed k0ekk0ek closed 8 months ago

k0ekk0ek commented 8 months ago

This PR fixes some bugs and moves checking for <blank> or <owner> up. As as a result, there's less code in the hot path and this speeds up the parser. Apart from that, it also drops support for quoting domain names. While RFC1035 mentions labels can be quoted, support in implementations is a hit-and-miss, with some implementations implementing different behavior for domain names that occur as the owner or in the RDATA section. For consistency, remove support all together.