Fix: IPv6 reverse DNS zone handling

Marcel Ritter marcel.ritter at rrze.fau.de
Sun Mar 11 04:48:41 MDT 2012


Hi,

while playing around with samba4 bind9_dlz and IPv6,
if ran into the following problem:

Using a Windows 7 MMC it is possible to add a reverse
IPv6 zone, however upon first refresh it gets sorted into the
forward zone list, which prevents a user from adding PTR
records :-(

Looking at the samba4 code, it looks like reverse zone handling
is only done for IPv4 zones (ending in "in-addr.arpa").

Handling of IPv6 zones (ending in "ip6.arpa") is missing.

The attached patch fixes that behavior .

IPv6 reverse zones work, PTR records can be added (only tested
from MMC, not yet with "samba-tool dns"), and nslookup/dig
return valid entries.


Bye,
    Marcel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-ipv6-reverse-dns.diff
Type: text/x-patch
Size: 1110 bytes
Desc: fix-ipv6-reverse-dns.diff
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120311/87e2a98c/attachment.bin>


More information about the samba-technical mailing list