Zone transfer defaults

Discussion in 'ISPConfig 3 Priority Support' started by RobMorin, Aug 20, 2014.

  1. RobMorin

    RobMorin New Member

    Hello, I was wondering if its possible to have the...

    Allow zone transfers to these IPs (comma separated list)

    and

    Also Notify

    ... have a default setting?? In other words have some default IPs in there whenever a DNS record is added?

    Thanks...
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats possible when you use the wizard. Add in the template that you use:

    xfer=.....
    also_notify=.....

    with the values that you want to set as default.
     
  3. RobMorin

    RobMorin New Member

    But hose statements go in the named.conf.local not the actual DNS zone file... i was not aware there was a template for the conf file??

    Where is this template?

    Thanks...
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    I'am talking about the dns wizard templates. Login to ispconfig, go to the dns module and there click on templates in the left menu.
     
  5. RobMorin

    RobMorin New Member

    Sorry for being a pain, but i am still confused...

    I go to my DNS module, click on templates on the left, open up my current default DNS template and i added at the end the following....

    allow-transfer {xxx.xxx.xxx.xxx; yyy.yyy.yyy.yyy;};
    also-notify {xxx.xxx.xxx.xxx; yyy.yyy.yyy.yyy;};

    I save this and then add a test domain...

    The new domain does not contain the above options in the named.conf.local file or in the zone file itself..

    Maybe I am missing something?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    The lines have to be added inside the [ZONE] section and not at the end of the template as they are zone settings and not dns records. and you used a wrong syntax, please see my post #2 and the other lines in the template for the correct syntax. correct would be:

    xfer=xxx.xxx.xxx.xxx; yyy.yyy.yyy.yyy;
    also_notify=xxx.xxx.xxx.xxx; yyy.yyy.yyy.yyy;
     
  7. RobMorin

    RobMorin New Member

    Ok, great, that worked...

    Thanks Till!
     

Share This Page