Edit DNS template

  • Hi how can I edit DNS template to use my DNS for all customers DNS records?


    I want ns1.customerdomain.com and ns2.customerdomain.com to be ns1.mydomain.com and ns2.mydomain.com


    I have bin looking at /etc/imscp/bind/parts/db.tpl and would it be as simple as editing this?


    Thanks


    Ubuntu 12.04
    Bind
    i-MSCP 1.1.14
    Build: 20140915
    Codename: Eagle

  • Hello ;


    Yes, this is the file that you must to edit. For instance:



    Do not forget to replace the <YOUR_NS1_SERVER_IP> and <YOUR_NS2_SERVER_IP> statements with your own data (IPs)


    Once it's done, you must force reconfiguration of your DNS zone files:

    • Set all domains, subdomains, domain aliases, subdomain aliases status to tochange in the database
    • Run the imscp-setup script ( perl /var/www/imscp/engine/setup/imscp-setup

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206