Knot's zone parser rejects 2 zones
Hi Knot devs,
My Knot server is configured with 5132 slave zones, but it only loads 5130. It rejects 2 zones with the following errors:
2014-03-06T03:30:19 [error] Error in zone file /var/lib/knot/37.138.in-addr.arpa.zone:2753: Invalid record data in hex format. 2014-03-06T03:30:19 [error] Error in zone file /var/lib/knot/102.145.in-addr.arpa.zone:8: Invalid domain name character. 2014-03-06T03:30:19 [error] Error in zone file /var/lib/knot/102.145.in-addr.arpa.zone:9: Invalid domain name character.
The relevant lines from both of those zones from the files on disk are:
128.16.37.138.in-addr.arpa. 86400 PTR #VIGNEW.admin.qmw.ac.uk.
*14.102.145.in-addr.arpa. 604800 PTR SURFnet-NL.IPv4.PTR.145.102.14.x.INVALID. *15.102.145.in-addr.arpa. 604800 PTR SURFnet-NL.IPv4.PTR.145.102.15.x.INVALID.
I can see that both are syntactically broken. However, both BIND and NSD load these zones, but ignore the bad records.
I don't want to say that you should necessarily copy BIND/NSD, but I'd like to hear your opinion.