LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-07-2009, 12:55 PM   #1
helpmhost
Member
 
Registered: Oct 2006
Posts: 43

Rep: Reputation: 15
DNS server for new domain


Hi,

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 mydomain123.com) 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:
ns1.mydomain123.com
ns2.mydomain123.com

My question is, how does the registrar (or root name servers) know what the ip address of ns1.mydomain123.com 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?

Thanks.
 
Old 08-07-2009, 02:21 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,003
Blog Entries: 5

Rep: Reputation: 782Reputation: 782Reputation: 782Reputation: 782Reputation: 782Reputation: 782Reputation: 782
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 02:53 PM.
 
Old 08-07-2009, 03:28 PM   #3
helpmhost
Member
 
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.
 
  


Reply


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 04:27 PM
First domain registered, need help with setting up DNS server pokey Linux - Networking 4 03-13-2009 10:16 PM
How to add two domain on DNS server (not subdomain) AK007HK Linux - Server 8 07-05-2008 12:29 AM
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 03:43 AM
Psuedo domain and referal in DNS Server vijayind Programming 1 10-17-2004 04:53 AM


All times are GMT -5. The time now is 04:42 AM.

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