ispconfig 3 dns template

Discussion in 'Installation/Configuration' started by infekteddeath, May 24, 2009.

  1. infekteddeath

    infekteddeath New Member

    does anyone have the default dns template for ispconfig 3? i deleted mine and i dont remember ow it was written in the template at all....
     
  2. radim_h

    radim_h Member

    [ZONE]
    origin={DOMAIN}.
    ns={NS1}.
    mbox={EMAIL}.
    refresh=28800
    retry=7200
    expire=604800
    minimum=86400
    ttl=86400

    [DNS_RECORDS]
    A|{DOMAIN}.|{IP}|0|86400
    A|www|{IP}|0|86400
    A|mail|{IP}|0|86400
    NS|{DOMAIN}.|{NS1}.|0|86400
    NS|{DOMAIN}.|{NS2}.|0|86400
    MX|{DOMAIN}.|mail.{DOMAIN}.|10|86400
     
  3. djtremors

    djtremors ISPConfig Developer ISPConfig Developer

    Is ther any docos on the formatting of the templates. eg, how do you make a CNAME in the template, the examples shows A records but not enough for all records?
     
  4. djtremors

    djtremors ISPConfig Developer ISPConfig Developer

  5. JCNoise

    JCNoise New Member

    My contrib

    Hi dudes,

    Here my contrib:

    [ZONE]
    origin={DOMAIN}.
    ns=ns1.{DOMAIN}.
    mbox={EMAIL}.
    refresh=28800
    retry=7200
    expire=1209600
    minimum=86400
    ttl=86400

    [DNS_RECORDS]
    A||{IP}|0|86400
    A|.|{IP}|0|86400
    A|*|{IP}|0|86400
    A|{DOMAIN}.|{IP}|0|86400
    A|ns1|{NS1}.|0|86400
    A|ns2|{NS2}.|0|86400
    CNAME|www|{DOMAIN}.|0|86400]
    CNAME|ftp|{DOMAIN}.|0|86400]
    CNAME|mail|{DOMAIN}.|0|86400]
    CNAME|webmail|{DOMAIN}.|0|86400]
    NS|{DOMAIN}.|ns1.{DOMAIN}.|0|86400
    NS|{DOMAIN}.|ns2.{DOMAIN}.|0|86400
    MX|{DOMAIN}.|mail.{DOMAIN}.|10|86400
    TXT|{DOMAIN}.|v=spf1 include:_example.dom.net ip4:111.111.111.111 ~all|0|86400

    ;)
     

Share This Page