Jump to content

Help needed - Nameserver set up on CentOS 5.2


Recommended Posts

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?

"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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.