Don't get it how to "setup" nameservers

phr0zthae

Verified User
Joined
Jun 16, 2009
Messages
6
Hi guys.

I've just succesfully installed DirectAdmin. But! Now I am wondering how I "link" nameservers to my domain.

The hostname of my dedicated server is: ks24702.kimsufi.com. I think I have to keep that hostname. Right?

I've registred a few domains with another registrar (www.transip.nl). Now I want - when I register a new domain - to put something in the nameservers like: ns1.mydomain.com and ns2.mydomain.com. But how do I do this all?

Or am I completely thinking the wrong way?

Thanks in advance for your replies.
 
First thing, you should (suggested, to keep things in order) rename your server to something like "servername.mydomain.com", then remove the "ks24702.kimsufi.com." zone (if existing) in the DNS panel.

Then, add your domain "mydomain.com" to your administration user (being it "admin" or anything else, it doesn't matter as long as only you have access to it), add two (or more, up to 5) records like "ns1" and "ns2" to the "mydomain.com." zone in the DNS panel.
Those records should point to different servers, or at least to different /24 CIDR of your server if you only own one. If you just have one IP address on that server, or you just have addresses in the same C class, you should use some secondary DNS external service, pointing "ns1" to your server and "ns2" to that service.

When all of this is in place, configure your domain zone "mydomain.com." with "ns1.mydomain.com." and "ns2.mydomain.com." as NS records, also remember to update the records at your registrar and to specify the IP addresses in order to make them offer mandatory glue records.
Then you should do the same thing for every domain you own: set the NS records then update those records at the registrar, always specifying the IP addresses.

If you can't do it yourself just hire someone to do it for you, there are many consultants capable of doing that on this forum (like, say, me :D).
 
First a clarification: when using DirectAdmin, always change the hostname through the DirectAdmin hostname function; not manually from the command line.

Now a question for you, Martino:

You wrote:
Then you should do the same thing for every domain you own
Are you recommending every domain use it's own nameserver names? I'm confused.

Jeff
 
Nope, but I agree it was confusing.

I meant that as you 'configure your domain zone "mydomain.com." with "ns1.mydomain.com." and "ns2.mydomain.com." as NS records...' you 'configure your domain zone "otherdomain.com." with "ns1.mydomain.com." and "ns2.mydomain.com." as NS records...' too, etc.
 
Last edited:
And just to reemphasize everything you do to set up nameservers on your own server is pointless if you do not set up the nameserver records at your registrar. Doing at the registrar is the most important step.
 
Back
Top