Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: arancox [...] gmail.com
Cc:
AdminCc:

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



Subject: Net::DNS uses incorrect domain name in update request
perl-Net-DNS-0.63-4.fc9.i386 perl v5.10.0 Fedora 9 When I craft an update request using the command line nsupdate tool for wsftest.example.com, the update packet has in it's "zone" section "wsftest.example.com SOA." When I attempt the same update using Net::DNS, the "zone section contains: "example.com SOA" The prerequisite and update sections of the update packet are the same no matter which tool I use. If wfstest.example.com is a domain/zone that is dynamically updateable but example.com is not, the Net::DNS crafted update will fail. The nsupdate crafted packet will succeed. Bind is rejecting the update created by Net::DNS because example.com is not dynamically updateable. This only matters if wsftest.example.com is a seperate zone. If I update say, test.wsftest.example.com with Net::DNS, the SOA record in the "zone" section of the update is wsftest.example.com which means bind accepts it. I will attach a pcap file showing the successful update using nsupdate, and the failed update using Net::DNS. Here are the nsupdate commands I used: Show quoted text
> update delete wsftest.example.com A > update add wsftest.example.com 300 A 1.1.1.1 > update add wsftest.example.com 300 A 1.1.1.2 > send
From: arancox [...] gmail.com
pcap capture file showing a successful update with nsupdate and a failed update with Net::DNS.
Download dns-updates.cap
application/octet-stream 454b

Message body not shown because it is not plain text.

From: arancox [...] gmail.com
No, in fact Net::DNS uses whatever you give it, and if you give it the wrong domain, it uses the wrong domain. Please accept my humble apologies for filing this bug in the first place and close it. Kind regards, Aran.
Stale ticket...
Stale ticket...