Web Hosting Talk







View Full Version : dns setup


dasource
06-17-2001, 07:29 AM
I have just assigned 2 IPs for DNS servers.

How do I tell the system to recognise those ips as name servers, so when i do a trace or ping it tell me ns1.***.com and ns2.***.com instead of the ip address,

any help will be appreciated.

I have bind,apache running do I need to make any changes there?

What should my host file look like for the master on bind dns?

sodapopinski
06-17-2001, 10:21 AM
Originally posted by dasource
I have just assigned 2 IPs for DNS servers.
How do I tell the system to recognise those ips as name servers, so when i do a trace or ping it tell me ns1.***.com and ns2.***.com instead of the ip address,
any help will be appreciated.



OK let's say that your domain is xyz.com and your have 2 IPs 64.x.x.x and 65.x.x.x
and you would like to make ns1.xyz.com and ns2.xyz.com

All you have to do is:
1. Open named file for domain xyz.com (named files are located at /var/named)
2. Make an input like the following command:

ns1 IN A 64.x.x.x.x
ns2 IN A 65.x.x.x.x

3. Refresh the named. And everything should be OK.

Once you also register this nameserver to your domain name provider, you could use this ns1 and ns2 to register any domain.