NAMED-CHECKCONF(1)
π NAMED-CHECKCONF(1) β the vibe check for your named config β¨
okay bestie, so this is named-checkconf, straight out of BIND 9 (section 1 of the manual, if you're keeping track π). Think of it as the friend who reads your text messages before you hit send, except the message is a named configuration file and the send button is production. π
β¨ NAME β¨
named-checkconf β the named configuration file syntax checking tool π¦
πΈ SYNOPSIS πΈ
named-checkconf [-achjklvz] [-p [-x ]] [-t directory] {filename}
π DESCRIPTION π
named-checkconf checks the syntax, but not the semantics, of a named configuration file. It parses the file β plus every single file included by it β and hunts for syntax errors. If you don't hand it a file, it reads /etc/bind/named.conf by default. periodt. π«Ά
β οΈ note, bestie: files thatnamedreads in separate parser contexts β likerndc.conforrndc.keyβ are not automatically read bynamed-checkconf. So config errors hiding in those files can still makenamedrefuse to run, even ifnamed-checkconfwas like "ur fine β¨". The good news? You can runnamed-checkconfon those files explicitly yourself. π
π OPTIONS π
-aβ doesn't check thednssec-policy's DNSSEC key algorithms against the ones your crypto provider actually supports. lowkey iconic when you're checking anamed.confthat's meant to run on another machine with a possibly different set of supported DNSSEC key algorithms. π§-hβ prints the usage summary and exits. the classic "who am i" flag π-jβ when loading a zonefile, this tellsnamedto read the journal if it exists. π₯-kβ checks thednssec-policy's DNSSEC keys against the key files in the key-directory. super useful when you're checking anamed.confto make sure a DNSSEC policy matches the keys you already have. π-lβ lists all the configured zones. every line of output has the zone name, class (e.g.IN), view, and type (e.g.primaryorsecondary). a whole lil inventory, slay π-cβ says "only the core configuration, please". this suppresses loading of plugin modules and makes all parameters to plugin statements get ignored. π-iβ ignores warnings on deprecated options. living in denial, but make it a flag π-pβ prints outnamed.confand the included files in canonical form, but only if zero errors were detected. see also-xπ-t directoryβ tellsnamedto chroot to directory, so thatincludedirectives in the config file get processed as if they were run by anamedthat's chrooted the same exact way. π-vβ prints the version of thenamed-checkconfprogram and exits. π·οΈ-xβ when printing config files in canonical form, this obscures shared secrets by swapping them for strings of question marks (?). this is the one that lets you share the contents ofnamed.confand related files β like when you're submitting bug reports π β without leaking private data. this option cannot be used without-p. π«-zβ performs a test load of all zones of typeprimaryfound innamed.conf. a full dress rehearsal πfilenameβ the name of the configuration file to be checked. if you don't specify it, it defaults to/etc/bind/named.conf. ποΈ
π RETURN VALUES π
named-checkconf returns an exit status of 1 if errors were detected, and 0 otherwise. clean. β¨
π¦ SEE ALSO π¦
named(8)named-checkzone(8)BIND 9 Administrator Reference Manual
π Author π
Internet Systems Consortium
π Copyright π
2026, Internet Systems Consortium
okay that's the whole page, no cap π
and just so we're cute and complete: this gem is from BIND 9, version 9.20.30, dated 2026-10-12 β go forth and check those configs, bestie, ur gonna ate πβ¨π¦
π¦ where this page comes from
- alpine 3.22: bind-doc 9.20.30-r0 Β· MPL-2.0
- alpine 3.23: bind-doc 9.20.30-r0 Β· MPL-2.0
- alpine 3.24: bind-doc 9.20.30-r0 Β· MPL-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms