DNSViolationValidator
class DNSViolationValidator (View source)
DNS Violation Validator
This class handles validation of DNS rule violations on a zone level. It checks for violations like multiple CNAME records with the same name, CNAME records that conflict with other record types, etc.
Methods
validate(int|string $recordId, int $zoneId, string $type, string $name, string $content)
Validate that the record doesn't create DNS violations
Details
__construct(RecordRepositoryInterface $recordRepository)
No description
ValidationResult
validate(int|string $recordId, int $zoneId, string $type, string $name, string $content)
Validate that the record doesn't create DNS violations