HINFORecordValidator
class HINFORecordValidator implements DnsRecordValidatorInterface (View source)
HINFO record validator
The HINFO (Host Information) record is used to acquire general information about a host. It provides CPU type and operating system information which can be used by application protocols to use special procedures when communicating with specific computer architectures.
Format:
- CPU: A character-string which specifies the CPU type
- OS: A character-string which specifies the operating system type
Both fields must be present. If a field contains spaces, it must be enclosed in double quotes.
Examples:
- "Intel Core i7" "Windows 10"
- INTEL LINUX
- "AMD Ryzen" "Ubuntu 22.04"
Note: For security reasons, HINFO records are not recommended for public-facing DNS as they can reveal potentially sensitive information about the host's hardware and software configuration that could be useful to attackers.
Methods
Validates HINFO 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 HINFO record content