My domain name and dedicated hosting are with different providers. I wanted to create a own nameserver for my domain name. I created 2 host object from domain registrar control panel.
1. ns.mydomain.com (IP of dedicated server)
2. ns2.mydomain.com (IP of dedicated server)
The same domain name in which I have created host object need to be hosted in my hosting. So I have assigned ns.mydomain.com, ns2.mydomain.com for the domain mydomain.com's name servers.
I hope this is correct... If not please correct me.
Then in my dedicated server (with PLESK control panel), I have enable the DNS service and created 2 A and other entries as follow records.
*.webmail.mydomain.com. CNAME mydomain.com. 192.168.100.219 / 24 PTR mydomain.com. ftp.mydomain.com. CNAME mydomain.com. mail.mydomain.com. A 192.168.100.219 ns.mydomain.com. A 83.138.xxx.xxx (PUBLIC IP OF THE SERVER) ns2.mydomain.com. A 83.138.xxx.xxx (PUBLIC IP OF THE SERVER) mydomain.com. NS mydomain.com. mydomain.com. A 83.138.xxx.xxx (PUBLIC IP OF THE SERVER) mydomain.com. MX (10) mail.mydomain.com. mydomain.com. TXT v=spf1 +a +mx -all webmail.mydomain.com. A 192.168.100.219 www.mydomain.com. NS ns.mydomain.com. www.mydomain.com. NS ns2.mydomain.com.
I followed these guide : http://help.godaddy.com/article/198
Is the above setting correct? Would I be able to use these name servers?