How to test bind9 config

Home / How to test bind9 config

How to test bind9 config

June 27, 2019 | System Administration | No Comments


Note: Depending on your install file names and locations may be different

After making changes to the main named.conf it is advised to check the config before restarting the service.

$named-checkconf /etc/bind/named.conf.local

If running in a chrooted environment

$ named-checkconf -t /var/named/chroot /etc/bind/named.conf.local

Like the main config, after editing a zone file it is advised to test it directly.

#$amed-checkzone /var/cache/bind/zones/

About Author

about author


Jack of all trades. I.T. edition. Programmer, Systems Administrator, DevOps and whatever else comes up.