Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
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 backwards map-
     pings exactly corresponding, and for the name server records all having ad-
     dress records.

     The filename on the command line is the file to be checked.  It defaults 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  in-
	     clude  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 ser-
     vice) put you new configuration files together in	a  temporary  directory,
     with relative paths.
	    dns-conf-check -I. etc/named.conf
     This  will  access  all of the files as if they were below "." (the current
     directory) rather than absolute.  This can simplify  configuration  manage-
     ment issues, too.

     Suggestions  for additional checks that dns-conf-check(1) could perform are
     most welcome.

							       dns-conf-check(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=dns-conf-check&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help