The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Zonemaster::Engine::Constants - module holding constants used in test modules

SYNOPSIS

   use Zonemaster::Engine::Constants ':all';

EXPORTED GROUPS

all

All exportable names.

algo

DNSSEC algorithms.

name

Label and name lengths.

ip

IP version constants.

soa

SOA value limits.

misc

UDP payload limit and minimum number of nameservers per zone.

addresses

Address classes for IPv4 and IPv6.

extract_iana_ip_blocks($ip_version)

Will extract IPs details from IANA files.

EXPORTED NAMES

  • $ALGO_STATUS_DEPRECATED

  • $ALGO_STATUS_PRIVATE

  • $ALGO_STATUS_RESERVED

  • $ALGO_STATUS_UNASSIGNED

  • $ALGO_STATUS_OTHER

  • $ALGO_STATUS_NOT_RECOMMENDED

  • $ALGO_STATUS_NOT_ZONE_SIGN

  • $DURATION_5_MINUTES_IN_SECONDS

  • $DURATION_1_HOUR_IN_SECONDS

  • $DURATION_4_HOURS_IN_SECONDS

  • $DURATION_12_HOURS_IN_SECONDS

  • $DURATION_1_DAY_IN_SECONDS

  • $DURATION_1_WEEK_IN_SECONDS

  • $DURATION_180_DAYS_IN_SECONDS

  • $FQDN_MAX_LENGTH

  • $LABEL_MAX_LENGTH

  • $IP_VERSION_4

  • $IP_VERSION_6

  • $SERIAL_BITS

    An integer, used to define the size of the serial number space, as defined in RFC1982, section 2.

  • $SERIAL_MAX_VARIATION

  • $MINIMUM_NUMBER_OF_NAMESERVERS

  • $UDP_PAYLOAD_LIMIT

  • $UDP_EDNS_QUERY_DEFAULT

    An integer, used to define the EDNS0 UDP packet size in EDNS queries.

  • UDP_COMMON_EDNS_LIMIT

  • @IPV4_SPECIAL_ADDRESSES

  • @IPV6_SPECIAL_ADDRESSES