how to restart bind service in centos 7 code example
Example: restart bind centos 8
/etc/init.d/named start
/etc/init.d/named stop
/etc/init.d/named restart
/etc/init.d/named start
/etc/init.d/named stop
/etc/init.d/named restart