I currently have a dedicated server UBUNUT 10.04lts with my own email server, dns server, and web server all running from the same box. I would like to love the DNS services off this box if at all possible and not have my own name servers hosted in my web server.
I was given 5 IP's from the hosting company. The network admin set my server up to be my own DNS server, email server, and web server.
My Domain is at godaddy.com but the DNS is managed on my server. reverse DNS is set up through my dedicated hosting company as they have their own rDNS server.
I would like to move the DNS back to Godaddy and use their name servers.
My question is around what are the parameters I need to change in my bind zone files?
Currently, my records look like this:
$TTL 604800
@ IN SOA CDS0135NS.mydomain.com. admin.mydomain.com. {
20110202
6044800
86400
2419200
604800 }
;
IN NS ns1.mydomain.com
IN NS ns2.mydomain.com
@ IN A 111.111.11.111 (my server IP)
@ IN AAAA ::1
www IN A 111.111.11.111 (my server IP)
www.mydomain.com. IN A 111.111.11.111
ns IN A 111.111.11.111
ns1 IN A 111.111.11.111
ns2 IN A 111.111.11.111
ns1.mydomain.com IN A 111.111.11.111
ns2.mydomain.com IN A 111.111.11.111
mail IN A 111.111.11.111
mydomain.com. IN A MX 10 mail.mydomain.com.
imap IN CNAME mail
pop IN CNAME mail
pop3 IN CNAME mail
relay IN CNAME mail
smtp IN CNAME mail
Now when I park my DNS with godaddy, they will give me ns1.godaddy.domain.com, ns2.godaddy.domain.com. They told me I would have to go into their control panel and put in my MX record (Which I would assume is my own mail.mydomain.com) and I would point their A record to my IP address of 111.111.11.111 within their control panel. But what do I do with "@ IN SOA CDS0135NS.mydomain.com. admin.mydomain.com." do I leave it alone?
And for my rDNS, do I continue to have it run through my dedicated hosting providers rDNS or should I run that through godaddy? Does my rDNS have anything to do with me changing the DNS hosted provider?
I am new to this and I have been reading as much as I could in the short time, and I have learned through my sys admin person. But he is no longer available so I am kind of on my own to do this.
Thank you.