Nameservers

studiotechnica

New member
Joined
Apr 27, 2004
Messages
4
I can't get my mind around how nameservers and domain registrars work. Please teach me. :-)

I just got a DirectAdmin server, I will be hosting multiple sites on it, how do I create nameservers, that resolve so I can update my domain registrar?

Ex.

Hosted Sites
domain1.com
domain2.com
domain3.com

How do I create ns1.domain1.com and ns2.domain1.com so that when I put them in my domain registrar, they resolve to the proper IPs? Or, do I have to assign the IPs via my registrar for domain1.com and then I can use ns1.domain1.com and ns2.domain1.com for domain2.com and domain3.com (just by adding the dns records to domain1.com)?

I have no clue, something is clicking. Any help would be appreciated. :-)
 
Create A records for your main domain in DNS Management:

ns1.maindomain.com A [ip1]
ns2.maindomain.com A [ip2]

ip1 and ip2 could best be different to prevent problems with some registrars.

you can add multiple ip's in DA (offcourse your ISP has to give 'm to you)

Good Luck
 
And my I suggest a good DNS book?

"DNS and Bind" published by O'Reilly

"Linux DNS Server Administration" published by Sybex

"DNS for Dummies" published by Wiley

Jeff
 
Back
Top