ivytony Posted November 18, 2008 Share Posted November 18, 2008 I've installed BIND 9 on my CentOS 5.2 server and have created master zone files. My VPS was assigned two IP's: 69.162.125.5 and 69.162.125.6, I set up ns1.rcholic.net and ns2.rcholic.net for these two IP's, respectively. I've also registered the new nameservers (ns1/ns2) at Godaddy where I purchased my domain rcholic.net. So far, the nameservers has been resolved. If you ping ns1.rcholic.net or ns2.rcholic.net, you'll get a response. But my domain rcholic.net doesn't work, it has been 16 hours since I updated the nameservers for this domain. I wonder if I'll need to wait longer for it to propagate? the content of /etc/named.conf File: /etc/named.conf options { directory "/var/named"; listen-on port 53 { 127.0.0.1; 69.162.125.5; }; }; zone "rcholic.net" { type master; notify no; allow-query { any; }; file "rcholic.zone"; }; zone "125.162.69.in-addr.arpa" { type master; notify no; allow-query { any; }; file "69.162.125.zone"; }; The content of the master zone file located in /var/named/rcholic.zone: ; rcholic.net ; Zone file for rcholic.net ; ; The full zone file ; $TTL 38400 @ IN SOA ns1.rcholic.net. webmaster.rcholic.net. ( 200211152 ; serial# 3600 ; refresh, seconds 3600 ; retry, seconds 3600 ; expire, seconds 3600 ) ; minimum, seconds ;ns1 IN CNAME ns1.rcholic.net. ;ns2 IN CNAME ns2.rcholic.net. ;Name servers ns1.rcholic.net. IN A 69.162.125.5 ns2.rcholic.net. IN A 69.162.125.6 @ IN NS ns1.rcholic.net. rcholic.net. IN NS ns2.rcholic.net. @ IN MX 10 ASPMX.L.GOOGLE.COM. rcholic.net. IN MX 20 ALT1.ASPMX.L.GOOGLE.COM. ;Aliased servers www IN CNAME rcholic.net. Below is the content of /var/named/69.162.125.zone: $TTL 3D @ IN SOA www.rcholic.net. webmaster.rcholic.net. ( 200303301 ; serial number 8H ; refresh, seconds 2H ; retry, seconds 4W ; expire, seconds 1D ) ; minimum, seconds NS www ; Nameserver Address 5 PTR www.rcholic.net. ; server host definitions ;5 IN PTR ns1.rcholic.net. ;6 IN PTR ns2.rcholic.net. I wonder if there's any problem with my nameserver setup. The output of nslookup 69.162.125.6 is: nslookup 69.162.125.6 Server: 69.162.125.5 Address: 69.162.125.5#53 ** server can't find 6.125.162.69.in-addr.arpa: NXDOMAIN output of nslookup 69.162.125.5 is: nslookup 69.162.125.5 Server: 69.162.125.5 Address: 69.162.125.5#53 5.125.162.69.in-addr.arpa name = www.rcholic.net. Is there anything wrong with my nameserver settings? Quote Link to comment https://forums.phpfreaks.com/topic/133194-help-needed-nameserver-set-up-on-centos-52/ Share on other sites More sharing options...
steviewdr Posted November 19, 2008 Share Posted November 19, 2008 Try adding: @ IN A 69.162.125.5 Here is my bind9 setup and config: http://wiki.kartbuilding.net/index.php/DNS_-_Bind9 -steve Quote Link to comment https://forums.phpfreaks.com/topic/133194-help-needed-nameserver-set-up-on-centos-52/#findComment-693837 Share on other sites More sharing options...
corbin Posted November 20, 2008 Share Posted November 20, 2008 "So far, the nameservers has been resolved. If you ping ns1.rcholic.net or ns2.rcholic.net, you'll get a response. But my domain rcholic.net doesn't work, it has been 16 hours since I updated the nameservers for this domain. I wonder if I'll need to wait longer for it to propagate?" If you ever wonder if it's propagated to you or not, just use nslookup and it should tell you. If it hasn't, you can always do nslookup hostname nameserver. Quote Link to comment https://forums.phpfreaks.com/topic/133194-help-needed-nameserver-set-up-on-centos-52/#findComment-694044 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.