Network

The named-checkconf command

Checks that the BIND configuration (named.conf and its includes) is correct. Prints nothing if OK.

Syntax

named-checkconf [/etc/bind/named.conf]

Copy-ready examples

$ named-checkconfValidate the config

You can try them in the browser terminal: it does not touch your computer.

Typical mistakes

  • If it is OK it says nothing: in Unix, silence usually means success.

FAQ

What does named-checkconf check?

Braces and includes; if an included file is missing or a brace is unbalanced, it warns.

Learn to actually use it

The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.

Start the free course