🖥️named-checkconf

➡️This is a command-line reference manual for commands and command combinations that you don’t use often enough to remember it. This cheatsheet explains the named-checkconf command with important options and switches using examples.

▁ ▂ ▃ ▄ ꧁ 🔴☠ COMMANDLINE-KUNGFU WITH CHEATSHEETS ☠🔴꧂▅ ▃ ▂ ▁

#      ███╗   ██╗ █████╗ ███╗   ███╗███████╗██████╗        ██████╗██╗  ██╗███████╗ ██████╗██╗  ██╗ ██████╗ ██████╗ ███╗   ██╗███████╗
#      ████╗  ██║██╔══██╗████╗ ████║██╔════╝██╔══██╗      ██╔════╝██║  ██║██╔════╝██╔════╝██║ ██╔╝██╔════╝██╔═══██╗████╗  ██║██╔════╝
#      ██╔██╗ ██║███████║██╔████╔██║█████╗  ██║  ██║█████╗██║     ███████║█████╗  ██║     █████╔╝ ██║     ██║   ██║██╔██╗ ██║█████╗  
#      ██║╚██╗██║██╔══██║██║╚██╔╝██║██╔══╝  ██║  ██║╚════╝██║     ██╔══██║██╔══╝  ██║     ██╔═██╗ ██║     ██║   ██║██║╚██╗██║██╔══╝  
#      ██║ ╚████║██║  ██║██║ ╚═╝ ██║███████╗██████╔╝      ╚██████╗██║  ██║███████╗╚██████╗██║  ██╗╚██████╗╚██████╔╝██║ ╚████║██║     
#      ╚═╝  ╚═══╝╚═╝  ╚═╝╚═╝     ╚═╝╚══════╝╚═════╝        ╚═════╝╚═╝  ╚═╝╚══════╝ ╚═════╝╚═╝  ╚═╝ ╚═════╝ ╚═════╝ ╚═╝  ╚═══╝╚═╝     
                                                                                                                                            
																																														  
# named-checkconf /etc/named.conf
and
# named-checkconf -t /var/named/chroot /etc/named.conf

If above command shows nothing in output, means configuration is ok, Now restart bind service.

# /etc/init.d/named restart

#==============================##==============================#
# CMD NAMED-CHECKCONF						       #
#==============================##==============================#
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

  █║▌│║█║▌★ KALI ★ PARROT ★ DEBIAN 🔴 PENTESTING ★ HACKING ★ █║▌│║█║▌

              ██╗ ██╗ ██████╗  ██████╗ ██╗  ██╗███████╗██████╗
             ████████╗██╔══██╗██╔═══██╗╚██╗██╔╝██╔════╝██╔══██╗
             ╚██╔═██╔╝██║  ██║██║   ██║ ╚███╔╝ █████╗  ██║  ██║
             ████████╗██║  ██║██║   ██║ ██╔██╗ ██╔══╝  ██║  ██║
             ╚██╔═██╔╝██████╔╝╚██████╔╝██╔╝ ██╗███████╗██████╔╝
              ╚═╝ ╚═╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚══════╝╚═════╝

               █║▌│║█║▌ WITH COMMANDLINE-KUNGFU POWER █║▌│║█║▌

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░