class MINFORecordValidator implements DnsRecordValidatorInterface (View source)

MINFO Record Validator

The MINFO (Mailbox Information) record type is used to specify mailboxes that are responsible for a mailing list or mailbox, and to receive error messages related to them.

Format:

Where:

  • responsible-mailbox: A domain name that specifies a mailbox that is responsible for the mailing list or mailbox. If this is the root, the owner of the record is responsible for itself. Many existing mailing lists use a mailbox "list-name-request" for this field.
  • error-mailbox: A domain name that specifies a mailbox that is to receive error messages related to the mailing list or mailbox. If this is the root, errors should be returned to the sender of the message.

Example: "admin.example.com errors.example.com"

NOTE: The MINFO record type is explicitly marked as EXPERIMENTAL in RFC 1035. Although still supported in many DNS implementations, it is rarely used and might not be supported universally.

Methods

__construct(ConfigurationManager $config)

No description

validate(string $content, string $name, mixed $prio, int|string|null $ttl, int $defaultTTL, mixed ...$args)

Validate MINFO record MINFO records contain responsible mailbox and error mailbox information

Details

__construct(ConfigurationManager $config)

No description

Parameters

ConfigurationManager $config

ValidationResult validate(string $content, string $name, mixed $prio, int|string|null $ttl, int $defaultTTL, mixed ...$args)

Validate MINFO record MINFO records contain responsible mailbox and error mailbox information

Parameters

string $content

The content part of the record

string $name

The name part of the record

mixed $prio

The priority value (if applicable)

int|string|null $ttl

The TTL value

int $defaultTTL

The default TTL to use if not specified

mixed ...$args

Additional validator-specific parameters

Return Value

ValidationResult

ValidationResult containing validated data or error messages