Subject: | Bug: problem resolving AAAA with multiple-zones enabled in config. |
Date: | Mon, 26 Aug 2013 09:12:11 +0200 |
To: | bug-AllKnowingDNS [...] rt.cpan.org |
From: | Espen Berg <espen [...] monsternett.no> |
Seems to be a bug in AllKnowingDNS-1.4 and AllKnowingDNS-1.3 with AAAA
and multiple zones.
Config:
listen xxx.xxx.xxx.xxx
network 2001:840:5000:2::/64
resolves to oslo-%DIGITS%.ipv6.monsternett.net
network 2a00:15a0::192:/64
resolves to mail-%DIGITS%.ipv6.monsternett.net
network 2a00:15a0:2::192:/64
resolves to web-%DIGITS%.ipv6.monsternett.net
network 2a00:15a0:151:1::/64
resolves to halden-colo-%DIGITS%.ipv6.monsternett.net
network 2a00:15a0:2000::/64
resolves to halden-delcolo-%DIGITS%.ipv6.monsternett.net
The reverse PTR-records seems to work fine everytime, the same for AAAA
if I only keep one network in the config. If I add multiple zones as in
the config provided it resolves the AAAA-records to NXdomains.
Example with only one zone enabled:
root@espen:~# host 2a00:15a0:2::192:1 nameserver.tld
1.0.0.0.2.9.1.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.0.0.a.5.1.0.0.a.2.ip6.arpa
domain name pointer web-0000000001920001.ipv6.monsternett.net.
root@espen:~# dig AAAA web-0000000001920001.ipv6.monsternett.net
@nameserver.tld
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45282
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; ANSWER SECTION:
web-0000000001920001.ipv6.monsternett.net. 3600 IN AAAA 2a00:15a0:2::192:1
Example with multiple zones enabled:
root@espen:~# host 2a00:15a0:2::192:1 nameserver.tld
1.0.0.0.2.9.1.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.0.0.a.5.1.0.0.a.2.ip6.arpa
domain name pointer web-0000000001920001.ipv6.monsternett.net.
root@espen:~# dig web-0000000001920001.ipv6.monsternett.net @nameserver.tld
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 27246
--
Espen C. Berg, Driftstekniker - Monsternett AS (www.monsternett.no)
Violgata 3A, N-1776 HALDEN, NORWAY
Sentralbord: 69701800 - Direkte: 69701810 - Faks: 69701801