Skip Menu |

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

Report information
The Basics
Id: 91353
Status: resolved
Priority: 0/
Queue: Net-Nslookup

People
Owner: darren [...] cpan.org
Requestors: lambdaride [...] yahoo.com
Cc:
AdminCc:

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



Date: Wed, 11 Dec 2013 20:45:11 -0800 (PST)
To: "bug-Net-Nslookup [...] rt.cpan.org" <bug-Net-Nslookup [...] rt.cpan.org>
From: N M <lambdaride [...] yahoo.com>
The tests for Net::Nslookup seem to have incorrect mail server values in the tests. From my machine: ;; ANSWER SECTION: boston.com.             17      IN      MX      20 bghqmail.globe.com. boston.com.             17      IN      MX      20 inapmail.boston.com. However the tests: is($res[0], "mail.boston.com", "nslookup(domain => 'boston.com', type => MX) -> mail.boston.com"); is($res[1], "mail3.boston.com", "nslookup(domain => 'boston.com', type => MX) -> mail3.boston.com"); ...and addresses may need to change as well: inapmail.boston.com has address 66.151.183.181 bghqmail.globe.com has address 50.203.72.25 Tests: is($res[0], "206.33.105.249", "nslookup(domain => 'boston.com', type => MX, recurse => 1) -> 206.33.105.249"); is($res[1], "66.151.183.192", "nslookup(domain => 'boston.com', type => MX, recurse => 1) -> 66.151.183.192");
I've fixed the tests and uploaded v2.04, which should be available soon. Thanks for the catch!