PDA

View Full Version : Setting up your DNS


mikekey
05-08-2006, 08:37 PM
I sorta hit the "defualt" button in the DNS Zone settings. And I'm trying to configure the DNS's on my server for the two ips assigned to it for my sites, and well I'm a little lost. I used cpanel previously.

DavidP
05-09-2006, 02:45 AM
Just change your dns settings so they look sorta like:

$TTL 14400
@ IN SOA ns1.yourdomain.tld. root.yourdomain.tld. (
2006042700
7200
3600
1209600
86400 )

ns1 14400 IN NS 111.111.111.111
ns2 14400 IN NS 111.111.111.112
yourdomain.tld. 14400 IN NS ns1.yourdomain.tld.
yourdomain.tld. 14400 IN NS ns2.yourdomain.tld.

ftp 14400 IN A 111.111.111.111
yourdomain.tld. 14400 IN A 111.111.111.111
localhost 14400 IN A 127.0.0.1
mail 14400 IN A 111.111.111.111
omega 14400 IN A 111.111.111.111
pop 14400 IN A 111.111.111.111
www 14400 IN A 111.111.111.111

yourdomain.tld. 14400 IN MX 10 mail



yourdomain.tld. 14400 IN TXT "v=spf1 a mx ip4:111.111.111.111 ?all"


=================

Just ignore the very top entry in this post as this is a copy-paste slightly modified from a zone file.

mikekey
05-15-2006, 07:53 PM
thanks, worked fine. :)