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.