Hook file allowing to provide conf-file to create zones as secondary DNS server

  • Hello everybody,

    just finished another hook script which adds the needed files to the gui in order to provide the secondary dns zones to the secondary dns servers.
    The hook basically also integrates into your environment if .htaccess, .htpasswd or script file itself already exist. If not all three files will be created and permissions set.

    The hook needs to be installed as usual: copy to hooks.d directory, rename from *.txt to *.pl, set readable only by root and run update script.

    UPDATE 2014-01-27: After having the script reviewed by flames a small bug when having more than one secondary dns server ip in bind config has been discovered and fixed. The attachment has been replaced by the fixed one.

    Please note that any use is at own risk.

    Regards Jörg