L32RecordValidator
class L32RecordValidator implements DnsRecordValidatorInterface (View source)
L32 record validator
The L32 record is a DNS resource record type used with the Identifier-Locator Network Protocol (ILNP). It maps a domain name to a 32-bit IPv4 locator value that can be used for ILNP communications with the node. L32 records are typically used for naming subnetworks, especially those that are, were, or might become mobile.
Format:
Where:
- preference: A 16-bit unsigned integer (0-65535) indicating relative preference Lower values are preferred over higher values.
- locator: A 32-bit IPv4 address representing the locator value.
Example: 10 192.0.2.1
NOTE: The L32 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 L32 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 L32 record content
L32 format: