This is basically a DNS query. Most likely, you can do the same by using (for example) Net::DNS, AnyEvent::DNS or by querying your WAN modem if it has UPnP enabled.
In principle, you could get most of this by using gethostbyname, except that this will not use the resolver1.opendns.com resolver but whatever your machine is configured to use for resolving hostnames.
In reply to Re: How would I do this "dig" command in Perl?
by Corion
in thread How would I do this "dig" command in Perl?
by Todd Chester
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |