Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
DNSCheck::Test::NameseUser(Contributed Perl DocumDNSCheck::Test::Nameserver(3)

NAME
       DNSCheck::Test::Nameserver - Test a nameserver

DESCRIPTION
       Test a single name server for a specific	zone. The following tests are
       done:

       o   The nameserver must be a valid hostname (according to
	   DNSCheck::Test::Host).

       o   The nameserver should not be	recursive.

       o   The nameserver must be authoritative	for the	zone.

       o   The SOA record for the zone must be fetchable over both UDP and
	   TCP.

       o   The nameserver may provide AXFR for the zone.

METHODS
       ->new($parent, $zone, $nameserver)
	   Create a new	test object, and optionally set	the zone and
	   nameserver name that	will be	tested.	If those two are set, the
	   values will be used as defaults for many other methods.

       ->test($zone, $nameserver);
	   Perform the default set of tests for	a nameserver in	a delegated
	   domain. Uses	the defaults set in new(), if any. Returns the number
	   of problems found at	level ERROR and	CRITICAL (as well as detiled
	   log info in the parent's logger object as usual).

	   For this test, a lookup on the nameserver name will be made and all
	   tests run on	all addresses found (obeying global settings for use
	   of IPv4 and IPv6, of	course).

       ->zone($zone)
	   Get or set the default zone for this	object.

       ->ns($name)
	   Get or set the default nameserver name for this object.

       ->ns_check_id($ip, [$name])
	   Run the version-fetching test for the specified server.

       ->ns_recursive($ip, [$name])
	   Test	if the specified server	is recursive. As all tests here,
	   returns the number of problems on levels ERROR and CRITICAL found,
	   and populates the logger object.

       ->ns_authoritative($ip, [$name, $zone])
	   Test	if the specified server	is authoritative for the given zone
	   (nameserver name is only used for logging).

       ->ns_udp($ip, [$name, $zone])
	   Test	if the given server can	be queried via UDP.

       ->ns_tcp($ip, [$name, $zone])
	   Test	if the given server can	be queried via TCP.

       ->ns_axfr($ip, [$name, $zone])
	   Test	if the given server allows transfer of the given zone.

SEE ALSO
       DNSCheck, DNSCheck::Logger, DNSCheck::Test::Host

perl v5.24.1			  2010-06-29	 DNSCheck::Test::Nameserver(3)

NAME | DESCRIPTION | METHODS | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=DNSCheck::Test::Nameserver&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help