Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.