forked from oZONo32/EHCP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dnszonetemplate
executable file
·28 lines (25 loc) · 1.05 KB
/
dnszonetemplate
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$TTL 86400
@ IN SOA ns.{domainname}. {dnsemail} (
{serial} ; Serial, this is www.ehcp.net dns zone template file..
10800 ; Refresh
1200 ; Retry
86400 ; Expire
86400 ) ; Minimum
{domainname}. IN NS ns.{domainname}.
ns.{domainname}. IN A {dnsip}
ns1.{domainname}. IN A {dnsip}
ns2.{domainname}. IN A {dnsip}
dns.{domainname}. IN A {dnsip}
dns1.{domainname}. IN A {dnsip}
dns2.{domainname}. IN A {dnsip}
{domainname}. IN A {webip}
mail.{domainname}. IN A {mailip}
smtp.{domainname}. IN A {webip}
imap.{domainname}. IN A {webip}
webmail.{domainname}. IN A {webip}
ftp.{domainname}. IN CNAME {domainname}.
www.{domainname}. IN CNAME {domainname}.
{domainname}. IN MX 10 mail.{domainname}.
{domainname}. IN TXT "v=spf1 a mx"
{customdns}
* IN A {webip}