.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Zonemaster::Engine::Constants 3pm" .TH Zonemaster::Engine::Constants 3pm 2024-04-22 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Zonemaster::Engine::Constants \- module holding constants used in Test modules .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 1 \& use Zonemaster::Engine::Constants \*(Aq:all\*(Aq; .Ve .SH "EXPORTED GROUPS" .IX Header "EXPORTED GROUPS" .IP all 4 .IX Item "all" All exportable names. .IP algo 4 .IX Item "algo" DNSSEC algorithms. .IP name 4 .IX Item "name" Label and name lengths. .IP ip 4 .IX Item "ip" IP version constants. .IP soa 4 .IX Item "soa" SOA values limits. .IP misc 4 .IX Item "misc" Other, uncategorized export names, e.g. UDP payload limit and minimum number of name servers per zone. .IP addresses 4 .IX Item "addresses" Address classes for IPv4 and IPv6. .SH "EXPORTED NAMES" .IX Header "EXPORTED NAMES" .IP \(bu 4 \&\f(CW$ALGO_STATUS_DEPRECATED\fR .IP \(bu 4 \&\f(CW$ALGO_STATUS_PRIVATE\fR .IP \(bu 4 \&\f(CW$ALGO_STATUS_RESERVED\fR .IP \(bu 4 \&\f(CW$ALGO_STATUS_UNASSIGNED\fR .IP \(bu 4 \&\f(CW$ALGO_STATUS_OTHER\fR .IP \(bu 4 \&\f(CW$ALGO_STATUS_NOT_RECOMMENDED\fR .IP \(bu 4 \&\f(CW$ALGO_STATUS_NOT_ZONE_SIGN\fR .IP \(bu 4 \&\f(CW$DURATION_5_MINUTES_IN_SECONDS\fR .IP \(bu 4 \&\f(CW$DURATION_1_HOUR_IN_SECONDS\fR .IP \(bu 4 \&\f(CW$DURATION_4_HOURS_IN_SECONDS\fR .IP \(bu 4 \&\f(CW$DURATION_12_HOURS_IN_SECONDS\fR .IP \(bu 4 \&\f(CW$DURATION_1_DAY_IN_SECONDS\fR .IP \(bu 4 \&\f(CW$DURATION_1_WEEK_IN_SECONDS\fR .IP \(bu 4 \&\f(CW$DURATION_180_DAYS_IN_SECONDS\fR .IP \(bu 4 \&\f(CW$FQDN_MAX_LENGTH\fR .IP \(bu 4 \&\f(CW$LABEL_MAX_LENGTH\fR .IP \(bu 4 \&\f(CW$IP_VERSION_4\fR .IP \(bu 4 \&\f(CW$IP_VERSION_6\fR .IP \(bu 4 \&\f(CW$SERIAL_BITS\fR .Sp An integer, used to define the size of the serial number space, as defined in RFC1982, section 2. .IP \(bu 4 \&\f(CW$SERIAL_MAX_VARIATION\fR .IP \(bu 4 \&\f(CW$MINIMUM_NUMBER_OF_NAMESERVERS\fR .IP \(bu 4 \&\f(CW$UDP_PAYLOAD_LIMIT\fR .IP \(bu 4 \&\f(CW$UDP_EDNS_QUERY_DEFAULT\fR .Sp An integer, used to define the EDNS0 UDP packet size in EDNS queries. .IP \(bu 4 \&\f(CW$UDP_COMMON_EDNS_LIMIT\fR .IP \(bu 4 \&\f(CW@IPV4_SPECIAL_ADDRESSES\fR .IP \(bu 4 \&\f(CW@IPV6_SPECIAL_ADDRESSES\fR .SH METHODS .IX Header "METHODS" .IP \fB_extract_iana_ip_blocks()\fR 4 .IX Item "_extract_iana_ip_blocks()" .Vb 1 \& my @array = _extract_iana_ip_blocks( $ip_version ); .Ve .Sp Internal method that is used to extract IP blocks details from IANA files for a given IP version (i.e. 4 or 6). .Sp Takes an integer (IP version). .Sp Returns a list of hashes \- the keys of which are \f(CW\*(C`ip\*(C'\fR (Net::IP::XS object), \f(CW\*(C`name\*(C'\fR (string) and \f(CW\*(C`reference\*(C'\fR (string).