Using the sample program create_domain.pl from mydns, a simple domain ends up looking like:
Code:
$TTL 86400
; Zone: newdomain.tld. (#3)
; Wed Nov 5 10:11:24 2008
$ORIGIN newdomain.tld.
@ IN SOA ns1.yourdomain.tld. hostmaster.yourdomain.tld. (
1 ; Serial
28800 ; Refresh
7200 ; Retry
604800 ; Expire
86400 ) ; Minimum
* 86400 IN A 1.2.3.4
localhost 86400 IN A 127.0.0.1
mail 86400 IN A 1.2.3.4
newdomain.tld. 86400 IN A 1.2.3.4
newdomain.tld. 86400 IN MX 10 mail.newdomain.tld.
newdomain.tld. 86400 IN NS ns1.yourdomain.tld.
newdomain.tld. 86400 IN NS ns2.yourdomain.tld.
www 86400 IN A 1.2.3.4
In this example "newdomain.tld" is the domain being created. "yourdomain.tld" is the hosting domain having the name servers. 1.2.3.4 is the IP of the (ISPConfig) server hosting mail and website.
So, how does that relate to ISPConfig3's GUI?
$ORIGIN relates to "Zone (SOA)" input. Which is the domain being created, obviously
"NS" and "email" inputs are on the "@ IN SOA.." line. NS is the primary name server hosting the domain. Email is the email address of the domain creator which here is "hostmaster@yourdomain.tld". Note how the @ is replaced by a dot so the local part of the e-mail address has to be a single word.
Serial number is the identifier for the domain. ISPConfig automatically manages this for you (using the unix timestamp).
Refresh/retry/expire/minimum/ttl are timeouts in seconds.
"Allow Zone transfers" are for using AXFR to transfer the domain to other non-mydns DNS servers. Enter IPs or ranges here for which servers can access this data. See
http://mydns.bboy.net/doc/html/mydns_19.html#SEC19 and
http://mydns.bboy.net/doc/html/mydns_14.html#SEC14 for more details. Although this documentation isn't upto-date. I believe MyDNS-NG has added support for IXFR. Sample bind config and more details about AXFR here:
http://www.wantlinux.net/?p=7
Rest of the lines are the RR records. Not sure why create_domain.pl added a localhost entry. These pretty much map to the items in ISPConfig's Record editing screen. "newdomain.tld." is to MyDNS what @ is to Bind.
Pay special attention to the location of trailing dots.
Recent comments
8 hours 6 min ago
12 hours 59 min ago
21 hours 51 min ago
22 hours 51 min ago
1 day 2 hours ago
1 day 3 hours ago
1 day 7 hours ago
1 day 14 hours ago
1 day 23 hours ago
2 days 1 hour ago