DNS template

Discussion in 'Installation/Configuration' started by dotcom, Jun 27, 2007.

  1. dotcom

    dotcom New Member

    Is there a way to configure a DNS template for domain creation under ISPconfig?

    Under Plesk, I was able to do a comprehensive configuration that fit the design of my network.

    I have a dedicated cluster of servers serving as my email servers, so the only thing I use email for on my web servers is feedback forms and the like. And I have a dedicated set of name servers, etc. So I need to be able to create repeatable and consistant MX, nameserver and SPF records, as well as the standard web stuff.

    Most end users don't know what they need in nameservice, and even my
    web resellers love the way plesk did everything for them so it was perfect from the moment they created the domain.

    In any event, I would like to create a template under ISPconfig. I couldn't find it as a standard option. Is there a script I can modify to produce the desired results?

    I know I can edit anything to look like what I want it to look like, but using a web configurator to manually edit dns for 600 domains is not a way to efficiently manage a standard site-specific configuration. It is also not the way to avoid errors, or to handle users that are not experts. The single checkbox for the mx record is great, but I need a more comprehensive configuration.

    Under plesk, my template creates 11 records, it looks something like this:
    <domain>. NS ns.xxx.net.
    <domain>. NS ns2.xxx.net.
    <domain>. A <ip>
    <domain>. MX (10) mail.<domain>.
    <domain>. MX (30) mx1.xxx.net.
    <domain>. MX (20) mx2.xxx.net.
    <domain>. TXT "v=spf1 a mx ip4:x.x.x.x ~all"
    ftp.<domain>. A <ip>
    mail.<domain>. A x.x.x.x
    mail2.<domain>. A x.x.x.x
    webmail.<domain>. A x.x.x.x

    Where <domain> is the new domain being created, <IP> is the assigned
    IP for the user's website, xxx is my company domain, and x.x.x.x are
    various IP addresses needed by the template.

    Prior to using the template, we had to go in behind each customer and
    clean-up and fix every domain zone file. You can't do economy hosting
    if the customer is making work for you in this manner.

    So if I can't do it with a template, I'll just re-write the script... I just need to know where it is.
     
    Last edited: Jun 27, 2007
  2. dotcom

    dotcom New Member

    Looks like I just didn't compose a good search string when looking for the answer. I was just reading the feature requests, and it looks like my answer is in the thread:
    http://www.howtoforge.com/forums/showthread.php?t=12087

    Not only is my answer there, but a solution for the next problem I was going to have is in there too... ;)

    Thanks again Falko!.
     

Share This Page