Hook file which configure Bind9 DNS Forwarders

  • Hello everybody,
    I hope not to be the only one with this issue. I wrote a Hook file, absolutely without warranty because unfortunately I'm not a programmer. It works for me, at present at least.


    Every time I update my i-MSCP installation, the forwarders section of my named.conf.options becomes standard, so no forwarders. This file corrects this behaviour and substitutes the section with the forwarders you configure in the provided variable.


    Please let me know.


    Install:
    1. Download the attachment
    2. change extension from .txt to .pl
    3. upload to /etc/imscp/hooks.d directory
    4. run the imscp-setup script