The domain "mydomain.com" is currently hosted on 192.168.1.1. I don't have control of the nameservers to which my domain registrar currently points. I have a new VPS account set up on 10.10.10.1 that I would like to use as a nameserver for the domain, and also as "test.mydomain.com". So, my goal is to have the nameserver set up so that "mydomain.com", " "ftp.mydomain.com", and "mail.mydomain.com" continue to point at 192.168.1.1 as they do now, and to have "test.mydomain.com" point at 10.10.10.1.
Can one of you DNS gurus review my nameserver configuration and let me know if it looks correct (this is the config on 10.10.10.1)? I'd like to ensure that it will work before pointing my domain registrar at 10.10.10.1 and 10.10.10.2 as the new nameservers.
Thanks in advance for your help. Configuration below:
----------------------------------------------------------
; Zone File for mydomain.com
$TTL 14400
@ 86400 IN SOA ns1.mydomain.com. dnsadmin.host.mydomain.com. (
2008021402
86400
7200
3600000
86400
)
mydomain.com. 86400 IN NS ns1.mydomain.com.
mydomain.com. 86400 IN NS ns2.mydomain.com.
mydomain.com. 14400 IN A 192.168.1.1
localhost.mydomain.com. 14400 IN A 127.0.0.1
mydomain.com. 14400 IN MX 0 mydomain.com.
mail 14400 IN CNAME mydomain.com.
www 14400 IN CNAME mydomain.com.
ftp 14400 IN A 192.168.1.1
ns1 14400 IN A 10.10.10.1
ns2 14400 IN A 10.10.10.2
test 14400 IN A 10.10.10.1
----------------------------------------------------------
Can one of you DNS gurus review my nameserver configuration and let me know if it looks correct (this is the config on 10.10.10.1)? I'd like to ensure that it will work before pointing my domain registrar at 10.10.10.1 and 10.10.10.2 as the new nameservers.
Thanks in advance for your help. Configuration below:
----------------------------------------------------------
; Zone File for mydomain.com
$TTL 14400
@ 86400 IN SOA ns1.mydomain.com. dnsadmin.host.mydomain.com. (
2008021402
86400
7200
3600000
86400
)
mydomain.com. 86400 IN NS ns1.mydomain.com.
mydomain.com. 86400 IN NS ns2.mydomain.com.
mydomain.com. 14400 IN A 192.168.1.1
localhost.mydomain.com. 14400 IN A 127.0.0.1
mydomain.com. 14400 IN MX 0 mydomain.com.
mail 14400 IN CNAME mydomain.com.
www 14400 IN CNAME mydomain.com.
ftp 14400 IN A 192.168.1.1
ns1 14400 IN A 10.10.10.1
ns2 14400 IN A 10.10.10.2
test 14400 IN A 10.10.10.1
----------------------------------------------------------