L64RecordValidator
class L64RecordValidator implements DnsRecordValidatorInterface (View source)
L64 record validator
The L64 record is a DNS resource record type used with the Identifier-Locator Network Protocol (ILNP). It maps a domain name to a 64-bit IPv6 locator value that can be used for ILNP communications with the node. L64 records are used primarily for ILNPv6-capable nodes and help to separate the node identity from its location.
Format:
Where:
- preference: A 16-bit unsigned integer (0-65535) indicating relative preference Lower values are preferred over higher values.
- locator64: A 64-bit value (represented as 4 groups of hexadecimal digits separated by colons) that has the same syntax and semantics as a 64-bit IPv6 routing prefix.
Example: 10 2001:0db8:1140:1000
NOTE: The L64 record type is defined in RFC 6742 as an experimental protocol. It is not a formal IETF standard but is published for examination, experimental implementation, and evaluation.
Methods
Validates L64 record content
Details
__construct(ConfigurationManager $config)
No description
ValidationResult
validate(string $content, string $name, mixed $prio, int|string|null $ttl, int $defaultTTL, mixed ...$args)
Validates L64 record content
L64 format: