FreeBSD Manual Pages
dns-conf-check(1) General Commands Manual dns-conf-check(1) NAME dns-conf-check - check /etc/named.conf file SYNOPSIS dns-conf-check [ option... ] filename dns-conf-check -Help dns-conf-check -VERSion DESCRIPTION The dns-conf-check program is used to check the named(8) configuration file for correctness. It checks for things like the forwards and back- wards mappings exactly corresponding, and for the name server records all having address records. The filename on the command line is the file to be checked. It de- faults to /etc/named.conf if not specified. Suggestions for additional checks that dns-conf-check(1) could perform are most welcome. OPTIONS The following options are understood: -Help Provide some help with using the dns-conf-check program. -Idirectory This option may be used to specify a directory to search for include files. It may be used more than once, the directories will be searched in the order given. -VERSion Print the version of the dns-conf-check program being executed. All other options will produce a diagnostic error. EXAMPLES To check your named(8) configuration, you need only say dns-conf-check and the file named(8) configuration file will be read, and also all of the files it refers to. Various cross checks will be made between the files, too. If you want to check a named(8) configuration, but without installing it first (which can be important if you need to guarantee continuity of service) put you new configuration files together in a temporary direc- tory, with relative paths. dns-conf-check -I. etc/named.conf This will access all of the files as if they were below "." (the cur- rent directory) rather than absolute. This can simplify configuration management issues, too. Suggestions for additional checks that dns-conf-check(1) could perform are most welcome. dns-conf-check(1)
NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXAMPLES
Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=dns-conf-check&sektion=1&manpath=FreeBSD+12.2-RELEASE+and+Ports>