Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Noob requesting review of my DNS config

Status
Not open for further replies.

dfondente

Programmer
Feb 20, 2008
2
US
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

----------------------------------------------------------
 
Update: the configuration above does work for the situation I outlined.
 
If it works, what is the question? Are you getting any errors messages in the log files?

Glen A. Johnson
Johnson Computer Consulting
[americanflag]
Support our Troops!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top