Skip Menu |
 

This queue is for tickets about the Net-DNS CPAN distribution.

Report information
The Basics
Id: 43770
Status: resolved
Priority: 0/
Queue: Net-DNS

People
Owner: Nobody in particular
Requestors: sion [...] nominet.org.uk
Cc:
AdminCc:

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



Subject: rr_del issue?
Date: Mon, 2 Mar 2009 15:39:59 +0000
To: bug-Net-DNS [...] rt.cpan.org
From: sion [...] nominet.org.uk
Hi there, We had an issue last week (not in live) where we are testing the script to keep the new enum zone updated. The basic issue is that when we were trying to remove a AAAA record from a zone BINDs response to the update packet was FORMERR. So I wrote a small script to reproduce the behaviour: (See attached file: enum_AAAA_update) but on my local machine it works. The main difference is the version of Net::DNS, I am running 0.63 (as installed by ubuntu) and the other machine has 0.65. (We have confirmed that downgrading Net::DNS on the other machine to 0.63 results in the update working, and vice versa.) The dig formatted output was effectively identical in both cases. perl -v: This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi uname -a: Linux sion 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux Any way, it is not such a big issue for us as we are not using the latest version, but I thought that you should know about it. If there is any way in which I can be of any help, or if you need any more information, please just let me know. Cheers, Sion Lloyd
Download enum_AAAA_update
application/octet-stream 2.6k

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #43770] rr_del issue?
Date: Mon, 2 Mar 2009 17:18:07 +0100
To: bug-Net-DNS [...] rt.cpan.org
From: Olaf Kolkman <olaf [...] dacht.net>
Download (untitled) / with headers
text/plain 1.6k
A packet dump of both transactions would be real useful. --Olaf On 2 mrt 2009, at 16:40, sion@nominet.org.uk via RT wrote: Show quoted text
> Mon Mar 02 10:40:55 2009: Request 43770 was acted upon. > Transaction: Ticket created by sion@nominet.org.uk > Queue: Net-DNS > Subject: rr_del issue? > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: sion@nominet.org.uk > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=43770 > > > > > Hi there, > > We had an issue last week (not in live) where we are testing the > script to > keep the new enum zone updated. The basic issue is that when we were > trying > to remove a AAAA record from a zone BINDs response to the update > packet was > FORMERR. > > So I wrote a small script to reproduce the behaviour: > > (See attached file: enum_AAAA_update) > > but on my local machine it works. The main difference is the version > of > Net::DNS, I am running 0.63 (as installed by ubuntu) and the other > machine > has 0.65. (We have confirmed that downgrading Net::DNS on the other > machine > to 0.63 results in the update working, and vice versa.) The dig > formatted > output was effectively identical in both cases. > > perl -v: > This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi > > uname -a: > Linux sion 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 > x86_64 > GNU/Linux > > > Any way, it is not such a big issue for us as we are not using the > latest > version, but I thought that you should know about it. > > If there is any way in which I can be of any help, or if you need > any more > information, please just let me know. > > Cheers, > Sion Lloyd > <enum_AAAA_update>
Download PGP.sig
application/pgp-signature 235b

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 336b
On Mon Mar 02 11:47:20 2009, olaf@dacht.net wrote: Show quoted text
> > > A packet dump of both transactions would be real useful. > > --Olaf
Okay, attached are the outputs of the script while running v0.63 and v0.65 respectively. They are the result of using the ->string function on the update and reply objects. Is that what you wanted? Sion
Download output_v0_63.txt
text/plain 1.4k
Script started on Tue 03 Mar 2009 08:22:31 GMT ]0;sion@sion:~/temp/enum_AAAA_update_test$ ./enum_AAAA_update Tue Mar 3 08:22:33 2009: debug: Set nameserver to 127.0.0.1, no recursion & TCP Tue Mar 3 08:22:33 2009: info: ============================== Tue Mar 3 08:22:33 2009: info: ;; HEADER SECTION ;; id = 25456 ;; qr = 0 opcode = UPDATE rcode = NOERROR ;; zocount = 0 prcount = 0 upcount = 3 adcount = 1 ;; ZONE SECTION (1 record) ;; 4.4.e164.arpa. IN SOA ;; PREREQUISITE SECTION (0 records) ;; UPDATE SECTION (3 records) 1.0.0.0.0.0.2.0.0.0.4.4.e164.arpa. 0 NONE NS ns1.1.0.0.0.0.0.2.0.0.0.4.4.e164.arpa. ns1.1.0.0.0.0.0.2.0.0.0.4.4.e164.arpa. 0 ANY A ; no data ns1.1.0.0.0.0.0.2.0.0.0.4.4.e164.arpa. 0 ANY AAAA ; no data ;; ADDITIONAL SECTION (1 record) enum-test. 0 ANY TSIG HMAC-MD5.SIG-ALG.REG.INT. NOERROR Tue Mar 3 08:22:33 2009: info: ============================== Tue Mar 3 08:22:33 2009: info: ************ 4.4.e164.arpa.: Reply received ************ Tue Mar 3 08:22:33 2009: info: ;; Answer received from 127.0.0.1 (91 bytes) ;; HEADER SECTION ;; id = 25456 ;; qr = 1 opcode = UPDATE rcode = NOERROR ;; zocount = 0 prcount = 0 upcount = 0 adcount = 1 ;; ZONE SECTION (0 records) ;; PREREQUISITE SECTION (0 records) ;; UPDATE SECTION (0 records) ;; ADDITIONAL SECTION (1 record) enum-test. 0 ANY TSIG hmac-md5.sig-alg.reg.int. NOERROR ]0;sion@sion: ~/temp/enum_AAAA_update_testsion@sion:~/temp/enum_AAAA_update_test$ exit Script done on Tue 03 Mar 2009 08:22:38 GMT
Download output_v0_65.txt
text/plain 1.4k
Script started on Tue 03 Mar 2009 08:20:53 GMT ]0;sion@sion:~/temp/enum_AAAA_update_test$ ./enum_AAAA_update Tue Mar 3 08:20:58 2009: debug: Set nameserver to 127.0.0.1, no recursion & TCP Tue Mar 3 08:20:58 2009: info: ============================== Tue Mar 3 08:20:58 2009: info: ;; HEADER SECTION ;; id = 19562 ;; qr = 0 opcode = UPDATE rcode = NOERROR ;; zocount = 0 prcount = 0 upcount = 3 adcount = 1 ;; ZONE SECTION (1 record) ;; 4.4.e164.arpa. IN SOA ;; PREREQUISITE SECTION (0 records) ;; UPDATE SECTION (3 records) 1.0.0.0.0.0.2.0.0.0.4.4.e164.arpa. 0 NONE NS ns1.1.0.0.0.0.0.2.0.0.0.4.4.e164.arpa. ns1.1.0.0.0.0.0.2.0.0.0.4.4.e164.arpa. 0 ANY A ; no data ns1.1.0.0.0.0.0.2.0.0.0.4.4.e164.arpa. 0 ANY AAAA ; no data ;; ADDITIONAL SECTION (1 record) enum-test. 0 ANY TSIG HMAC-MD5.SIG-ALG.REG.INT. NOERROR Tue Mar 3 08:20:58 2009: info: ============================== Tue Mar 3 08:20:58 2009: info: ************ 4.4.e164.arpa.: Reply received ************ Tue Mar 3 08:20:58 2009: info: ;; Answer received from 127.0.0.1 (12 bytes) ;; HEADER SECTION ;; id = 19562 ;; qr = 1 opcode = UPDATE rcode = FORMERR ;; zocount = 0 prcount = 0 upcount = 0 adcount = 0 ;; ZONE SECTION (0 records) ;; PREREQUISITE SECTION (0 records) ;; UPDATE SECTION (0 records) ;; ADDITIONAL SECTION (0 records) Tue Mar 3 08:20:58 2009: fatal: Failed: FORMERR ]0;sion@sion: ~/temp/enum_AAAA_update_testsion@sion:~/temp/enum_AAAA_update_test$ exit Script done on Tue 03 Mar 2009 08:21:00 GMT
Download (untitled) / with headers
text/plain 304b
Show quoted text
> A packet dump of both transactions would be real useful. > > --Olaf
Sorry, I've now had my morning coffee and realise that you probably mean a tcpdump of the transaction... Attached is a wireshark save of first the 0.63 traffic and then the 0.65 . There is a difference in the AAAA removal. Sion
Download ddns.wireshark
application/octet-stream 823b

Message body not shown because it is not plain text.

 Fixed as of reversion 831 on the trunk and thus on the forthcoming release


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.