DNS

Defaultni DNS predložak za ISPConfig control panel:
[ZONE]
origin={DOMAIN}.
ns={NS1}.
mbox={EMAIL}.
refresh=7200
retry=3600
expire=1209600
minimum=43200
ttl=3600

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

Standardni DNS predložak za ISPConfig control panel (weboteka):
[ZONE]
origin={DOMAIN}.
ns=ns1.rct.hr.
mbox=admin@weboteka.net.
refresh=7200
retry=3600
expire=1209600
minimum=43200
ttl=3600

[DNS_RECORDS]
A|{DOMAIN}.|{IP}|0|3600
A|www|{IP}|0|3600
A|ftp|{IP}|0|3600
AAAA|www|2a01:4f8:d13:1e42::2|0|3600
AAAA|{DOMAIN}.|2a01:4f8:d13:1e42::2|0|3600
NS|{DOMAIN}.|ns1.rct.hr.|0|3600
NS|{DOMAIN}.|ns2.rct.hr.|0|3600
CNAME|mail|ghs.google.com.|0|3600
CNAME|docs|ghs.google.com.|0|3600
CNAME|sites|ghs.google.com.|0|3600
CNAME|calendar|ghs.google.com.|0|3600
MX|{DOMAIN}.|aspmx.l.google.com.|10|3600
MX|{DOMAIN}.|alt1.aspmx.l.google.com.|20|3600
MX|{DOMAIN}.|alt2.aspmx.l.google.com.|20|3600
MX|{DOMAIN}.|aspmx2.googlemail.com.|30|3600
MX|{DOMAIN}.|aspmx3.googlemail.com.|30|3600
MX|{DOMAIN}.|aspmx4.googlemail.com.|40|3600
MX|{DOMAIN}.|aspmx5.googlemail.com.|40|3600

Standardni DNS predložak za ISPConfig control panel (SPF):
[ZONE]
origin={DOMAIN}.
ns=ns1.rct.hr.
mbox=admin@weboteka.net.
refresh=7200
retry=3600
expire=1209600
minimum=43200
ttl=3600


[DNS_RECORDS]
A|{DOMAIN}.|{IP}|0|3600
A|www|{IP}|0|3600
A|ftp|{IP}|0|3600
AAAA|www|2a01:4f8:d13:1e42::2|0|3600
AAAA|{DOMAIN}.|2a01:4f8:d13:1e42::2|0|3600
NS|{DOMAIN}.|ns1.rct.hr.|0|3600
NS|{DOMAIN}.|ns2.rct.hr.|0|3600
CNAME|mail|ghs.google.com.|0|3600
CNAME|docs|ghs.google.com.|0|3600
CNAME|sites|ghs.google.com.|0|3600
CNAME|calendar|ghs.google.com.|0|3600
MX|{DOMAIN}.|aspmx.l.google.com.|10|3600
MX|{DOMAIN}.|alt1.aspmx.l.google.com.|20|3600
MX|{DOMAIN}.|alt2.aspmx.l.google.com.|20|3600
MX|{DOMAIN}.|aspmx2.googlemail.com.|30|3600
MX|{DOMAIN}.|aspmx3.googlemail.com.|30|3600
MX|{DOMAIN}.|aspmx4.googlemail.com.|40|3600
MX|{DOMAIN}.|aspmx5.googlemail.com.|40|3600
TXT|{DOMAIN}.|v=spf1 ip4:78.47.41.183 ip4:85.25.100.84 include:_spf.google.com ~all|0|3600


DNS NS serveri:

1) treba 2 IP-a tj. 2 servera
2) dignuti DNS server na serverima
treba paziti da se složi DNS zona server01.tld i definirati ns1 i ns2 kao NS recorde i za te iste NS recorde napraviti odgovarajuće A recorde do svojih IP-eva.
Treba biti ovakav output:

dig +short @85.25.100.84 weboteka.net ns
    ns1.rct.hr.
    ns2.rct.hr.

dig +short @85.25.100.84 ns1.rct.hr a
85.25.100.84
dig +short @85.25.100.84 ns2.rct.hr a
78.47.41.183

3) Kreirati nameservere na zonomi.com / DNS ili nešto treće:
ns1.rct.hr 85.25.100.84
ns2.rct.hr 78.47.41.183
Comments