GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
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
2010-06-29 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.