Introducing the named-rrchecker tool
- Updated on 24 Jan 2018
- 1 minute to read
The named-rrchecker tool (introduced in BIND 9.10) can be used to verify the syntactic correctness of individual resource records, or to convert them into a canonical format so that a newly defined record type can be loaded into an older name server that doesn't recognize it.
The tool itself reads one DNS resource record (without an owner name) from standard input and checks to see if its syntax is correct. If the syntax is incorrect, it prints an error message and exits with an exit code of 1 (failure). If the syntax is correct, and none of its "print" options have been invoked, then it is silent and exits with an exit code of 0 (success). It is intended for use inside shell scripts that use those exit codes to control their iteration.
Options available are:
-h Print a help menu and exit-o origin Specify an origin to be used when interpreting the record; this provides the same information as the $ORIGIN statement in a text zone file-p Print out the resulting record in canonical form-u Print out the resulting record in unknown record form-C Print known classes mnemonic-T Print known standard types mnemonic-P Print known private types mnemonic
© 2001-2018 Internet Systems Consortium For assistance with problems and questions for which you have not been able to find an answer in our Knowledge Base, we recommend searching our community mailing list archives and/or posting your question there (you will need to register there first for your posts to be accepted). The bind-users and the dhcp-users lists particularly have a long-standing and active membership. ISC relies on the financial support of the community to fund the development of its open source software products. If you would like to support future product evolution and maintenance as well having peace of mind knowing that our team of experts are poised to provide you with individual technical assistance whenever you call upon them, then please consider our Professional Subscription Support services - details can be found on our main website.