DnsValidatorRegistry
class DnsValidatorRegistry (View source)
Registry for DNS record validators
Methods
No description
Get validator for a specific record type
Whether a record of this type may be stored: a type with a dedicated validator, or one the admin listed in dns.domain_record_types / dns.reverse_record_types.
False only when the connected PowerDNS version is known and predates the type.
Check if a validator exists for a record type
Details
__construct(ConfigurationInterface $config, DnsBackendProviderInterface $backendProvider, Closure|null $capabilities = null)
No description
DnsRecordValidatorInterface
getValidator(string $recordType)
Get validator for a specific record type
bool
isKnownType(string $recordType)
Whether a record of this type may be stored: a type with a dedicated validator, or one the admin listed in dns.domain_record_types / dns.reverse_record_types.
PowerDNS answers SERVFAIL for a type it cannot parse and aborts AXFR of the zone.
bool
isTypeSupportedByServer(string $recordType)
False only when the connected PowerDNS version is known and predates the type.
bool
hasValidator(string $recordType)
Check if a validator exists for a record type