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
Zonemaster::Engine::Test::Address(3) User Contributed Perl Documentation Zonemaster::Engine::Test::Address(3)

Zonemaster::Engine::Test::Address - Module implementing tests focused on IP addresses of name servers

    my @results = Zonemaster::Engine::Test::Address->all( $zone );

    my @logentry_array = all( $zone );
    

Runs the default set of tests for that module, i.e. between two and three tests depending on the tested zone. If ADDRESS02 passes, ADDRESS03 is run.

Takes a Zonemaster::Engine::Zone object.

Returns a list of Zonemaster::Engine::Logger::Entry objects.

    my $hash_ref = metadata();
    

Returns a reference to a hash, the keys of which are the names of all Test Cases in the module, and the corresponding values are references to an array containing all the message tags that the Test Case can use in log entries.

    my $hash_ref = tag_descriptions();
    

Used by the built-in translation system.

Returns a reference to a hash, the keys of which are the message tags and the corresponding values are strings (message IDs).

    my $version_string = version();
    

Returns a string containing the version of the current module.

_emit_log()
    my $log_entry = _emit_log( $message_tag_string, $hash_ref );
    

Adds a message to the logger for this module. See "add($tag, $argref, $module, $testcase)" in Zonemaster::Engine::Logger::Entry for more details.

Takes a string (message tag) and a reference to a hash (arguments).

Returns a Zonemaster::Engine::Logger::Entry object.

_find_special_address()
    my $hash_ref = _find_special_address( $ip );
    

Verifies if an IP address is a special (private, reserved, ...) one.

Takes a Net::IP::XS object.

Returns a reference to a hash if true (see "_extract_iana_ip_blocks()" in Zonemaster::Engine::Constants), or "undef" if false.

    my @logentry_array = address01( $zone );
    

Runs the Address01 Test Case <https://github.com/zonemaster/zonemaster/blob/master/docs/public/specifications/tests/Address-TP/address01.md>.

Takes a Zonemaster::Engine::Zone object.

Returns a list of Zonemaster::Engine::Logger::Entry objects.

    my @logentry_array = address02( $zone );
    

Runs the Address02 Test Case <https://github.com/zonemaster/zonemaster/blob/master/docs/public/specifications/tests/Address-TP/address02.md>.

Takes a Zonemaster::Engine::Zone object.

Returns a list of Zonemaster::Engine::Logger::Entry objects.

    my @logentry_array = address03( $zone );
    

Runs the Address03 Test Case <https://github.com/zonemaster/zonemaster/blob/master/docs/public/specifications/tests/Address-TP/address03.md>.

Takes a Zonemaster::Engine::Zone object.

Returns a list of Zonemaster::Engine::Logger::Entry objects.

2025-02-24 perl v5.40.2

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.