EUI48RecordValidator
class EUI48RecordValidator implements DnsRecordValidatorInterface (View source)
EUI48 record validator
The EUI48 resource record is used to store IEEE EUI-48 addresses in the DNS. These addresses are typically MAC addresses used in Ethernet and other layer-2 networks.
Format: xx-xx-xx-xx-xx-xx Where each 'xx' is a two-digit hexadecimal number representing one octet of the 48-bit address. The address is represented as six two-digit hexadecimal numbers separated by hyphens. The hexadecimal digits A-F may be uppercase or lowercase.
Examples:
- 00-00-5e-00-53-2a
- 00-1A-2B-3C-4D-5E
Methods
validate(string $content, string $name, mixed $prio, int|string|null $ttl, int $defaultTTL, mixed ...$args)
Validates EUI48 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 EUI48 record content