Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-07-2009, 01:55 PM   #1
Registered: Oct 2006
Posts: 43

Rep: Reputation: 15
DNS server for new domain


I realize this is not a Linux specific question, but I figure Linux admins have a better understanding of networking in general.

I assume this is a very basic/beginner question, but it has been puzzling me for a little while. Here goes:

If I register a new domain (let's and I want to use my own DNS server. After registering the domain name, at the registrar, I want to set my DNS servers to be:

My question is, how does the registrar (or root name servers) know what the ip address of is? I will obviously set the IP address on my dns servers. At first glance, I would think this is impossible, since ns1 is just a record inside the specific domain that it is authoritative for. However, I have seen several examples companies who have a setup exactly like this.

Can someone clarify this for me?

Old 08-07-2009, 03:21 PM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,067
Blog Entries: 14

Rep: Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248
For the primary domain you tell the Registrar of the primary domain the IP address of the DNS servers. They typically have a place to configure your own DNS server IPs. This gets confused often with the place where you tell it the DNS servers to use for your domain which isn't exactly the same thing.

It becomes clearer when you setup other domains but use the same primary domain's DNS servers. In those you simply enter the name server names and not the IPs. Only the primary needs to know the IPs as all others would refer to the primary to get the records.

Also don't forget the Registrars only deal with the forward lookups. You also have to have your ISP delegate the IP range you're using to you and you'll need to provide them with your DNS server names and IPs for reverse lookups.

Last edited by MensaWater; 08-07-2009 at 03:53 PM.
Old 08-07-2009, 04:28 PM   #3
Registered: Oct 2006
Posts: 43

Original Poster
Rep: Reputation: 15
Thank you for the reply. That makes total sense. I just dug around deeper in my registrar and I found a spot to register my name servers (it was buried a little deeper than I would have expected).

Thanks again for the clarification.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
I have only one domain, do i need DNS Server? demia Linux - Server 5 05-04-2009 05:27 PM
First domain registered, need help with setting up DNS server pokey Linux - Networking 4 03-13-2009 11:16 PM
How to add two domain on DNS server (not subdomain) AK007HK Linux - Server 8 07-05-2008 01:29 AM
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 04:43 AM
Psuedo domain and referal in DNS Server vijayind Programming 1 10-17-2004 05:53 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration