Micetro by Men&Mice
Latest versions
Search all documentation
Important:
Men & Mice pre-compiled packages are offered as-is, with no warranty expressed or implied.bash-3.2# switchbind Usage: /usr/bin/switchbind {switch <version>|revert|list}to list all installed BIND versions, use the "list" parameter
bash-3.2# switchbind list /usr/local/bind-9.4.2 /usr/local/bind-9.4.2-P1 /usr/local/bind-9.5.1-b1to switch to a specific version of BIND, use the "switch" parameter with a version number
bash-3.2# switchbind switch bind-9.5.1-b1 Switch to bind-9.5.1-b1 bash-3.2# named -v BIND 9.5.1b1the switch command will set a symbolic link from the selected version to "/usr/local/bind". It will also create a symbolic link called "/usr/local/bind-old" to the previous version of BIND.
bash-3.2# ls -la /usr/local/bind* lrwxrwxrwx 1 root root 24 Jul 17 12:29 /usr/local/bind -> /usr/local/bind-9.5.1-b1 lrwxrwxrwx 1 root root 24 Jul 17 12:29 /usr/local/bind-old -> /usr/local/bind-9.4.2-P1the parameter "revert" will switch back to the previous version of BIND:
bash-3.2# switchbind revert bash-3.2# named -v BIND 9.4.2-P1the "switchbind" does not restart the BIND nameserver. You need to either use the startscript to stop the old and start the new BIND nameserver or use "rndc" to stop the running (old) BIND instance and use the "named" command to start the new version.