class EUI64RecordValidator implements DnsRecordValidatorInterface (View source)

EUI64 record validator

The EUI64 resource record is used to store IEEE EUI-64 addresses in the DNS. These addresses are used in various network interfaces, including IPv6 addresses and some IEEE 802 network protocols.

Format: xx-xx-xx-xx-xx-xx-xx-xx Where each 'xx' is a two-digit hexadecimal number representing one octet of the 64-bit address. The address is represented as eight two-digit hexadecimal numbers separated by hyphens. The hexadecimal digits A-F may be uppercase or lowercase.

Examples:

  • 00-11-22-33-44-55-66-77
  • 00-0A-95-9D-68-16-00-01
  • 02-00-5E-10-00-00-00-01

Methods

__construct(ConfigurationManager $config)

No description

validate(string $content, string $name, mixed $prio, int|string|null $ttl, int $defaultTTL, mixed ...$args)

Validates EUI64 record content

Details

__construct(ConfigurationManager $config)

No description

Parameters

ConfigurationManager $config

ValidationResult validate(string $content, string $name, mixed $prio, int|string|null $ttl, int $defaultTTL, mixed ...$args)

Validates EUI64 record content

Parameters

string $content

The content part of the record

string $name

The name part of the record

mixed $prio

The priority value (if applicable)

int|string|null $ttl

The TTL value

int $defaultTTL

The default TTL to use if not specified

mixed ...$args

Additional validator-specific parameters

Return Value

ValidationResult

ValidationResult containing validated data or error messages