AFSDBRecordValidator
class AFSDBRecordValidator implements DnsRecordValidatorInterface (View source)
AFSDB record validator
Validates AFSDB (AFS Database) records according to:
- RFC 1183 Section 1: AFS Data Base location (AFSDB RR)
- RFC 5864: DNS SRV Resource Records for AFS (updates RFC 1183)
AFSDB RRs map from a domain name to the name of an AFS cell database server or Authenticated Name Server for DCE/NCA cell.
Format:
Where:
-
1: AFS cell database server -
2: DCE authenticated name server
Note: RFC 5864 deprecates the use of AFSDB RR to locate AFS cell database servers in favor of SRV records.
Methods
validate(string $content, string $name, mixed $prio, int|string|null $ttl, int $defaultTTL, mixed ...$args)
Validates AFSDB 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 AFSDB record content