Nov
16
Posted on 16-11-2007
Filed Under (vps hosting) by bodhost

Follow these steps to setup nameservers on a Dedicated IP :

1) telnet/ssh into your server and log in as root

2) Now change directory to /var/named

3) By using any one of these two methods add DNS entries for your nameserver:_

a)
Edit yourname.com.db file for the domain you are adding nameservers for.
Add these two lines at the bottom of the file:
ns1 IN A 0.0.0.0
ns2 IN A 0.0.0.0
and (replace ns1 & ns2 with the nameservers you are setting up)
(replace 0.0.0.0 with the actual ips of the nameservers you are setting up)

Note: Remember you can do hosting and have nameservers on the same IP(s)

OR

b)
run /scripts/adddns for each of the nameserver you are setting up,and enter the full nameserver name and IP as requested by the script.

4) run /etc/rc.d/init.d/named reload
…for reloading the nameserver/bind.

5) Now ping the nameservers, and they should resolve to the correct ips now.If they do not, edit /etc/ressolv.conf
add the following line above all other lines beginning with “nameserver”, add:nameserver 127.0.0.1 If they still do not resolve, please contact system administration

6) Go to your registrar of your domain name, and register the nameservers to point to the IPs they must have instructions on their website on how to do this.If you have problems, please contact system administration for assistance.

Comments Off    Read More   

Comments are closed.