How to set the DNS?

wl6568

Verified User
Joined
Sep 15, 2004
Messages
5
Hi all, I am confused at how to register the DNS in DA. Apparently, I am given 5 ips, and I have a domain xxx.com. How do I register the DNS? Is the first step by adding the two IPs into the IP management list? And what should I do in the DNS management page? Any help would be really appreciated. Thanks
 
DavidR said:
Here is a link that has some good info and links to another thread that explains the basics. Are you a reseller or is this your server/vps?

http://www.directadmin.com/forum/showthread.php?s=&threadid=4436


Um....thanks. But still not sure. According to the adminstrator's post, he said just go to Admin->DNS Admin-> and add records, but what stuff should I fill in there? There are:

Domain
IP
Name server1
Name server2

so, is the domain name the domain that is used to register the name servers?

and for the ip, why is there only 1 ip? Shoudnt there be two ips that we used to register the two name servers? Do I use the ip that was used to register ns1 here? Or do I use a complete different ip?
 
wl6568 said:
Um....thanks. But still not sure. According to the adminstrator's post, he said just go to Admin->DNS Admin-> and add records, but what stuff should I fill in there? There are:

Domain
IP
Name server1
Name server2

so, is the domain name the domain that is used to register the name servers?

and for the ip, why is there only 1 ip? Shoudnt there be two ips that we used to register the two name servers? Do I use the ip that was used to register ns1 here? Or do I use a complete different ip?
That section is for creating a zone for a domain, i.e. adding a domain to the server's control, not for setting up the name servers. For instance, here is one way to do it, maybe the most common.

Say you want to use the domain myhosting.com for your server, and you want to create your private nameservers ns1.myhosting.com and ns2.myhosting.com. Also assume that you were assigned 5 IP's and that they have been entered into DA:

192.168.1.1 (server)
192.168.1.2
192.168.1.3
192.168.1.4
192.168.1.5

1. Go to the registrar where myhosting.com is registered and find the section that lets you register nameservers (not the same as changing the name servers for that domain, might be named something else like register DNS). Enter ns1.myhosting.com and 192.168.1.2, then ns2.myhosting.com and 192.168.1.3 and save.

2. While still at the registrar, now change the name servers used by myhosting.com to the ones you just created.

3. Go to DA > Admin Tools > IP Management and assign the IP's you just used to create the name servers to "admin".

4. If you haven't done so already, go to DA > Admin > DNS Administration and add the domain myhosting.com, the main server IP 192.168.1.1, and ns1 & ns2.myhosting.com.

5. Go to DA > Extra Features > Administrator Settings and enter servers hostname = myhosting.com
ns1 = ns1.myhosting.com, ns2 = ns2.myhosting.com and save.

In 24-72 hours the new domain and nameservers should have propagated and be working. You can go from there but the name servers should be out of the way. If you are selling reseller packages, there is more to know about assigning private nameservers to resellers (if you choose to do so).

Warning: I'm new to DA and I am assuming the use of the enhanced skin. I may have made a mistake but this is basically how I did it and it's working fine. Others more experienced can hopefully check it over. Also important, this assumes you aren't already using the main domain (ie. myhosting.com here) for something because this will reassign it to your new DA server.

HTH,
 
Thanks for your help. Thankfully that was what I just did. However, I did not choose the server's ip for the zone, instead a different ip. I hope that would be fine.

Also, is it safe to create reseller and users that share the server ip?
 
Back
Top