- Yes, IE can go to websites.
- Version is 0.34
- One of the examples are
#/usr/bin/perl -w
use warnings;
use strict;
use Net::DNS;
my $rr;
my $res = Net::DNS::Resolver->new;
my $query = $res->query("http://www.yahoo.com", "NS");
if ($query) {
foreach $rr ($query->answer) {
next unless $rr->type eq "NS";
print $rr->nsdname, "\n";
}
}
else {
print "query failed: ", $res->errorstring, "\n";
}
| [reply] [d/l] |
Ok,
by not working, does it print 'query failed', or does it die,
or do something else? Is it possible you're behind a
firewall, and just accessing the web through a proxy?
| [reply] |
I get the error query failed: connection failed
| [reply] |