How to setup DNS server on two host to resolve my_domain:
Login into Godaddy account
Goto the Domain Detail of mydomain:
From Host Name:
Register two hosts into mydomain: ns1=host1_ip,. ns2=host2_ip
From Nameservers:
Change Setup Type from Standard to Custom
Add the two Nameservers: ns1.mydomain ns2.mydomain
Login into host1 & host2
Setup DNS server, with the following config:
T-NS record: ns1.mydomain, ns2.mydomain (dns server)
T_MX record: mx1.mydomain, mx2.mydoamin (email server)
T_TXT record: “v=spf1 …” (for email )
“goodle-site-verification=…” (for email, and web server)
SPF record for email:
“v=spf1 a a:host1.domain.net a:host2.domain.net mx ip:11.22.33.44 -all”
Only following host allowed for SMTP delivery”
host1.domain.net, host2.domain.net, 11.22.33.44, all in MX record
Google site notification: (Verify domain by adding a TXT/SPF record)
Refer to:
https://www.google.com/webmasters/verification/home?hl=en
How to Add PTR record for mx server:
PTR record is managed by ISP, not the DNS supplier, such as Godaddy
Some VPS supplier support PTR record modification, such as Hostus, ComfortHost.
Tool for email server check: