|The Domain Name System (DNS) is the system that converts domain names (domain.com) into IP addresses (18.104.22.168). This system is far simpler than most people realize.|
There are 3 main components to the dns system:
- Parent Nameservers (there are 13 of them in the world)
- Your domain name registrar (where you buy your domain)
- Your own Name Server (where you control the dns values of your domain)
1) When you go to your registrar, you'll purchase a domain. When you purchase the domain, you'll specify the nameservers you want that domain to use. Your registrar will take this information (the domain name and the nameservers it uses) and will send that to the parent nameservers. This can sometimes take a few days to sync up. Once finished, any query of your domain to the parent nameservesr will return the names of the nameservers you specified with your domain. Subsequent queries will ask those nameservers (usualy at your own server), using the zones and values you've setup through DirectAdmin.
2) If you wish to create your own nameservers for your domain (eg: ns1.domain.com), you'll have to go to your registrar to "register" you nameservers as nameservers before you can use them. The first step is usually to make sure they resolve. To do this, you can either go to Reseller Level -> Nameservers, and create nameservers there... or to accomplish the same effect, simply go to manage your domain's zone (Admin Level -> DNS Admin -> domain.com) and add the 2 "A" records for ns1 and ns2, just like any other subdomain (eg, the same as for www, ftp, pop, etc..). At the bottom of the page, use the "Add A Record" field to create:
ns1 A 22.214.171.124
Once your ns1.domain.com and ns2.domain.com values resolve, go to your registrar and register them as nameservers.
3) Propagation of the new values might take upwards of a few days, so patience is important. Once they're registered, you can again go to your registrar and set your domain to use these new nameservers. You'll also need to go back to your domain's dns management and set these new nameservers in the "NS" record values.
The order of events for a dns lookup of www.domain.com is as follows:
The locations in DirectAdmin where the NS records will be used, are specified at:
|www.domain.com doesn't work, but domain.com works fine (or vice versa)|
|How the multi server dns clustering works|
|What the period does, at the end of a dns value|
© 2018 JBMC Software, Suite 173 3-11 Bellerose Drive, St Albert, AB T8N 1P7 Canada. Mon-Fri 9AM-5PM MST