Old 29th September 2006, 12:23
BasicA BasicA is offline
Junior Member
Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default DNS Basics

I read Falko's linux set up tutorials on howtoforge and they were really
nicely and completely written and I am pretty impressed. I appreciate
the effort.

Actually I have a question about DNS... I understand that Bind9 is the
utility used for setting up name servers on a linux machine. I do
know, also, that the DNS server nsX.mydomain.com has to be so called
registered with the registrar of the TLD, mydomain.com. Other aspects
that I am aware of the need to modify apache webserver settings for
host as well as DHCP settings, Bind9 settings, etc... I gather that
DNS takes times to propagate through the DNS servers before your TLD
is actually recognized on the WWW. I also read from your tutorial that
ISPConfig would be a good tool to use to manage DNS configurations.

I am actually rather confused about the many issues revolving about
DNS and I was just wondering if anyone would be able to give me something like a flow explanation for DNS issues from the start when a user possess a
linux server and a dotcom domain name to it becoming "glued" and
officially accessible on the WWW. It would be great it anyone could
explain the big picture to me and then refer me some links to
understand each and every of the smaller bits...

Many of the web resources I have looked up provides bits and pieces of the information here and there and do not link up the entire picture...

Many thanks,

BTW: I am running a FC5 LAMP server and VMWare loaded with Ubuntu 6.06
Dapper Drake Server edition. Once I have grasped Ubuntu and the DNS
issue I am planning to set up a server to run on Ubuntu and attach it
to a dotcom domain.

I really appreciate your time and patience... and I do thank you in
advance for helping me clear some doubts. Many of the web resources
I have looked up provides bits and pieces of the information here and
there and do not link up the entire picture...
Reply With Quote
Sponsored Links
Old 29th September 2006, 16:04
sjau sjau is offline
Local Meanie
Join Date: Apr 2006
Location: Switzerland
Posts: 1,158
Thanks: 4
Thanked 58 Times in 54 Posts

Might be a bit wrong but I think it works like this:

Registring the domain
You register a domain at some registrar. They do have some kind of contracts with the operators of the root servers. For .com domains that's NetSol.
So, basically when you register a domain name you also need to enter the nameservers. E.g. mydomain.com uses as nameservers ns1.myhost.com / ns2.myhost.com.
If the nameservers of ns1/ns2.myhost.com don't exist, then glue records are needed. This means that the owner of myhost.com tells the registrar that it's a glue records and that those nameservers can be found on specific IP addresses. E.g. and (normally two different IPs are required for the two different nameservers)
All of this information is then added to the root server.

Making a dns request
Now in your browser you want to surf to mydomain.com. If the domain is also in your dns cache, then first it will check whether the information has expired (most domains are set to about 48h... after that the information will be renewed again by checking on the domain info). If it has not expired then the IP of the actual server where the domain will point to will be retrieved from the cache and you will be directed there.
At this point apache (or another webserver or ftp server or ....) comes into play. Apache on the server gets a call for the domain "mydomain.com". It checks its configuration whether it has an entry and if so, then it will display the according pages. If not you get an error.

However if the domain info has expired in your cache or if there is no information yet in your cache your computer asks then (normally) your ISPs dns server whether this one has temporarily saved the domain info. If not then it will go up the ladder (I don't know how many steps there are) until you arrive at the root server. If the domain exists then the root server will have an entry and all ladders in between will put the info into the cache... so that not for every request the root server are being queried.

At least I think it works like that... or closely like that.
Reply With Quote
Old 1st October 2006, 01:02
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts

These links might be interesting for you: http://www.howtoforge.com/traditional_dns_howto
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie DNS totally confuse. Rock General 9 1st June 2006 01:01
FC4 Setup DNS and ISPCONFIG issues The General Installation/Configuration 7 15th May 2006 10:45
Using a different DNS server with Dynamic DNS CombatGod Installation/Configuration 1 11th May 2006 18:43
Pri & Slave DNS HOWTO (FC4) ppettigrew Suggest HOWTO 0 1st April 2006 16:35
Reverse DNS disasm General 3 13th January 2006 20:43

All times are GMT +2. The time now is 02:12.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.