4.10. named-rrchecker --- Resource records syntax checker

4.10.1. Synopsis

named-rrchecker [-h] [-o <origin>] [-p] [-u] [-C] [-T] [-P]

4.10.2. Description

named-rrchecker reads an individual DNS resource record from standard input (stdin) and checks if it is syntactically correct.

All resource record fields except the owner name must be provided as input. The owner name must be omitted.

4.10.3. Options

-h

Print usage information and exit.

-o <origin>

Specifies the <origin> to be used when interpreting the record.

-p

Prints out the resulting record in canonical form. If there is no canonical form defined then the record will be printed in unknown record format.

-u

Prints out the resulting record in unknown record format (RFC 3597).

-C

Print the class mnemonic.

-T

Print the (standard) type mnemonic.

-P

Print the private type mnemonic.

4.10.4. Examples

$ echo "IN A 127.0.0.1" | named-rrchecker -p

4.10.5. See also

named-checkzone(1)