Skip Menu |

This queue is for tickets about the AllKnowingDNS CPAN distribution.

Report information
The Basics
Id: 88134
Status: open
Priority: 0/
Queue: AllKnowingDNS

People
Owner: Nobody in particular
Requestors: espen [...] monsternett.no
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
Subject: Re: [rt.cpan.org #88134] AutoReply: Bug: problem resolving AAAA with multiple-zones enabled in config.
Date: Mon, 26 Aug 2013 12:59:14 +0200
To: bug-AllKnowingDNS [...] rt.cpan.org
From: Espen Berg <espen [...] monsternett.no>
Seems to work if i put each zone on a uniqe subdomain. Ex. Not working: 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 Works: network 2001:840:5000:2::/64 resolves to %DIGITS%.ns.osl.ipv6.monsternett.net network 2a00:15a0::192:/64 resolves to %DIGITS%.mail.hdn.ipv6.monsternett.net network 2a00:15a0:2::192:/64 resolves to %DIGITS%.web.hdn.ipv6.monsternett.net network 2a00:15a0:151:1::/64 resolves to %DIGITS%.colo1.hdn.ipv6.monsternett.net network 2a00:15a0:2000::/64 resolves to %DIGITS%.colo3.hdn.ipv6.monsternett.net Den 26.08.2013 09:12, skrev Bugs in AllKnowingDNS via RT: Show quoted text
> Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "Bug: problem resolving AAAA with multiple-zones enabled in config.", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #88134]. Your ticket is accessible > on the web at: > > https://rt.cpan.org/Ticket/Display.html?id=88134 > > Please include the string: > > [rt.cpan.org #88134] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > bug-AllKnowingDNS@rt.cpan.org > > ------------------------------------------------------------------------- > 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
Thanks for the detailed report. I have committed http://code.stapelberg.de/git/all-knowing-dns/commit/?id=ffe748f52596b372acfe30eaf6863d97208d5fd1 which should fix this problem (at least the testcase now passes). Please let me know if that fixes your problem and I’ll publish a new release.
Subject: Re: [rt.cpan.org #88134] Bug: problem resolving AAAA with multiple-zones enabled in config.
Date: Wed, 28 Aug 2013 09:29:55 +0200
To: bug-AllKnowingDNS [...] rt.cpan.org
From: Espen Berg <espen [...] monsternett.no>
Hi, this patch fixes the problem. espencb@pluto<~>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. espencb@pluto<~>dig AAAA web-0000000001920001.ipv6.monsternett.net web-0000000001920001.ipv6.monsternett.net. 3600 IN AAAA 2a00:15a0:2::192:1 espencb@pluto<~>host 2a00:15a0::192:1 nameserver.tld 1.0.0.0.2.9.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.a.5.1.0.0.a.2.ip6.arpa domain name pointer mail-0000000001920001.ipv6.monsternett.net. espencb@pluto<~>dig AAAA mail-0000000001920001.ipv6.monsternett.net mail-0000000001920001.ipv6.monsternett.net. 3600 IN AAAA 2a00:15a0::192:1 -- Espen C. Berg, Driftstekniker - Monsternett AS (www.monsternett.no) Violgata 3A, N-1776 HALDEN, NORWAY Sentralbord: 69701800 - Direkte: 69701810 - Faks: 69701801