Zone Defaults (Template) -Help please.

Webmin
Timpa
2010-01-22
2013-05-21
  • Timpa
    Timpa
    2010-01-22

    I'm trying to add a zone default template

    I would like to add defaults for all new master domains
    MX 5 mail.myhostingdomain.com
    MX 10 mx1.myhostingdomin.com
    MX 15 mx2.myhostingdomain.com
    www IN A <ip>
    domain IN A <ip>

    All this as defaults for my new domains, How to do?
    I've tried all diffrent ways but i can't figure it out
    using CentOS 5.4 x64 and Webmin 1.500

     
  • d elleray
    d elleray
    2010-01-22

    here is mine… with your domain details..

    ;//created delleray africonnect 2010
                    IN  MX  5 mail.myhostingdomain.com.
                IN  MX  10 mx1.myhostingdomin.com.
                IN  MX  15 mx2.myhostingdomin.com.
    www IN  A   123.456.789.123 ;// default to standard
                   IN   A   123.456.789.123 ;// default to standard
    ;//end default template
    

    d.

     
  • d elleray
    d elleray
    2010-01-22

    and note the trailing .
    in the MX lines.
    otherwise it will add the real domain name on the end
    d

     
  • Timpa
    Timpa
    2010-01-23

    Well, i'm mening this:

    Screenshot:

    But it gives me wrong information.
    Zone file:
    cat testzone.hosts

    $ttl 3600
    domain.se. IN SOA ns1.<domain>. admin.<domain>. (
    1264141248
    3600
    3600
    2419200
    3600 )
    domain.se. IN NS ns1.<domain>.
    domain.se. IN NS ns2.<domain>.
    domain.se. IN MX 5 mail.<domain>.
    domain.se. IN MX 10 mx.<domain>.
    www IN CNAME
    @ IN A <ip>

     
  • d elleray
    d elleray
    2010-01-23

    i quoted a template (as per your thread header) not  the zone defaults settings.

    why not try using a file with those entries…

    what you have is exactly what you keyed into the zone defaults form.
    (e.g. with the '@' entry.)

    d.

     
  • hkais
    hkais
    2013-02-16

    how did you fix your issue?
    I have the same problems, and the doc says nothing about it