RESINFORecordValidator
class RESINFORecordValidator implements DnsRecordValidatorInterface (View source)
RESINFO (Resolver Information) record validator
Validates RESINFO records according to RFC 9606. RESINFO uses the same wire format as TXT (one or more character-strings) but conveys resolver capabilities such as "qnamemin" or "exterr=15-17". Each character-string must be quoted and is limited to 255 bytes (DNS character-string limit).
Supported by PowerDNS Authoritative from 5.1.
Example: "qnamemin exterr=15-17"
Methods
validate(string $content, string $name, mixed $prio, int|string|null $ttl, int $defaultTTL, mixed ...$args)
Validate a DNS record
Details
__construct(ConfigurationManager $config)
No description
ValidationResult
validate(string $content, string $name, mixed $prio, int|string|null $ttl, int $defaultTTL, mixed ...$args)
Validate a DNS record