Hello there,
I am an experienced network and systems' engineer. I have developed over the years my own set of scripts for DNS server management (BIND), and I would gladly help you modify the provided script for use with Debian/Ubuntu/CentOS, each having small peculiarities regarding how BIND is managed.
Kind regards,
C.R.