|
|
| |
DNSCheck::Lookup::DNS(3) |
User Contributed Perl Documentation |
DNSCheck::Lookup::DNS(3) |
DNSCheck::Lookup::DNS - DNS Lookup
Helper functions for looking up information in the DNS (Domain Name System).
- new($parent);
- Create a new lookup object. Not recommended to use, create a DNSCheck
object and call the DNSCheck::dns method instead.
- flush();
- Empty the cache and clear the blacklist.
- my $packet = $dns->query_resolver(qname, qclass,
qtype);
- Send a query to the default resolver(s). This will be a
DNSCheck::Lookup::Resolver object.
- my $packet = $dns->query_parent(zone, qname,
qclass, qtype);
- my $packet = $dns->query_child(zone, qname,
qclass, qtype);
- my $packet = $dns->query_explicit(qname, qclass,
qtype, address, flags);
- my $addrs = $dns->get_nameservers_ipv4(qname,
qclass);
- my $addrs = $dns->get_nameservers_ipv6(qname,
qclass);
- my $ns = $dns->get_nameservers_at_parent(qname,
qclass);
- my $ns = $dns->get_nameservers_at_child(qname,
qclass);
- $dns->init_nameservers(qname, qclass);
- my $parent = $dns->find_parent(qname, qclass);
- my @mx = $dns->find_mail_destination(domain);
- my @addresses = $dns->find_addresses(qname, qclass);
- my $bool = $dns->address_is_authoritative(address, qname,
qtype);
- my $bool = $dns->address_is_recursive(address,
qclass);
- my $bool = $dns->check_axfr(address, qname,
qclass);
- my $string = $dns->query_nsid(address, qname,
qclass, qtype);
- These need to be documented better.
use DNSCheck::Logger;
use DNSCheck::Lookup::DNS;
my $logger = new DNSCheck::Logger;
my $dns = new DNSCheck::Lookup::DNS($logger);
my $parent = $dns->query_parent("nic.se", "ns.nic.se", "IN", "A");
$logger->dump();
DNSCheck::Logger, DNSCheck::Lookup::DNS
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |