[Pdns-users] 2.9.19: Problem with CIDR reverse delegation
Volker Goetz
goetz at sectionone.de
Wed Nov 2 12:33:39 UTC 2005
Hi,
after upgrading to 2.9.19 my CIDR reverse delegation was broken. It seems
that the new packet handler is too restrictive on validating proper host
names.
validDNSName() in packethandler.cc only allows letters a-z and A-Z, digits
0-9 and characters -_*. While this is perfectly ok with the
recommendations in RFC 1035 for host names, it prohibits working
delegations for CIDR reverse lookups containing a '/' in its CNAMEs. RFC
2317 suggests to use the first address and the network mask length as a
base for creating the CNAME records as one possibility. This scheme surely
is widely used.
I suggest to add at least the character '/' to be valid in host names too.
I attached a small patch for this.
Maybe this can make it into the 2.9.19.1-to-be release.
--
Best regards
Volker Götz
---------------------------------------------------------------
section(one Mail goetz at sectionone.de
Dipl.-Inform. Univ. Web http://www.sectionone.de/
Volker Götz Tel. +49 30 / 40 00 67 9-0
Rosa-Luxemburg-Straße 15 Fax +49 30 / 40 00 67 9-15
D-10178 Berlin PGP 4FEB1C34 @ wwwkeys.de.pgp.net
---------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.9.19-validdnsname-fix.patch
Type: text/x-diff
Size: 586 bytes
Desc: not available
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20051102/e1cf3901/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20051102/e1cf3901/attachment.sig>
More information about the Pdns-users
mailing list