Centos – Check BIND version in CentOS

bindcentos

According to the manpage, the option -v will report the version number. But when I use /etc/init.d/named -v it outputs the following:

Usage: /etc/init.d/named {start|stop|status|restart|condrestart|reload|probe}

I am using CentOS 5.7 on a VPS, with WHM/cPanel.

Best Answer

that is how you start bind via the init.d script.. not the binary itself

/usr/sbin/named -v