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");