Skip Menu |

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

Report information
The Basics
Id: 1947
Status: resolved
Worked: 1 hour (60 min)
Priority: 0/
Queue: Net-Nslookup

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

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



Subject: qslookup broken for non-existant names
Created from an email from Scott Schneider: Show quoted text
> Darren, > > First off, thanks for writing the module, it's been more than useful in > the current project that I'm working on. > > I do, however, have one minimal suggestion that I'd like to make. The > qslookup subroutine fails if no records for the domain exist, because > inet_ntoa freaks out about inet_aton not returning anything. > > My suggestion: > > sub qslookup { > if (inet_aton($_[0])) { inet_ntoa(inet_aton($_[0])); } > } > > Just a suggestion, feel free to completely disregard it if you'd like. > > Take care, > scott.