LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-09-2005, 03:00 AM   #1
urquanmaster
LQ Newbie
 
Registered: Feb 2005
Posts: 10

Rep: Reputation: 0
DNS, ROOT servers, and setting up a small personal server


I'm trying to setup a server, but I want to understand everything first.

Apparently, I have to register with a company who'll put my server domain on the root servers. Then I need to use a DNS to get some nameservers to give back to the registration site.

Can somebody point me to a site, or tell me what all these things physically are and why i need them?

I initially thought that you would just register your name to a root server, then, when somebody wants to access your site, they would just go to the root server and find your IP through the nameserver. But now, apperantly, I need to have a nameserver.

Can somebody show me the processes involved in requests that are sent from server to browser. Like, when the browser sends a request, does that request go to the nameserver first, or the root server, and then what happens from there?

Any help would be awesome.
 
Old 03-09-2005, 04:08 AM   #2
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Allright, i think you mixed up a few things. First i lay out a normal webbrowsing communication set.
Ok, you have your faviroute browser up and enter the name of the page you want to visit. After proceding the browser first checks if the required name is in his dns cache (a table of know hostname to ipnumber) If he canīt find the right entry, it queries a nameserver. The nameserver first checks the toplevel domain (all after the last dot). Then sends the adress of the namerserver for this toplevel domain. So the browsers sends a request to this toplevel domain nameserver, which checks if he got the hostname. Most of the time the toplevel domain nameserver sends back the adress of a nother nameserver. This goes on till the name is found or not.
When found the nameserver sends you the ip adress of the hostname. After this your browser connects to this ip using tcp and makes his queires.

So normaly you just have to get your ip into a dnserver and you should be fine. Use a company like http://www.dyndns.org. You can create a account there and have them resolv a hostname to your ip. Just check out there page. There are a lot of other pages which offer similar. Try a search on google.

Greets zhjim
 
Old 03-09-2005, 01:29 PM   #3
urquanmaster
LQ Newbie
 
Registered: Feb 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for putting that all into direct terms. I needed that direct explanation.

So, right now I'm using zoneedit.com. But, why do I need nameserver adresses? Aperantly, I need two nameserver adresses...and I've put them into the domain registrar's website in my account. Are the adresses the what nameservers use to comunicate?

And thanx for the info eh
 
Old 03-10-2005, 04:01 AM   #4
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
I wonder that you know that you need two nameservers, if you donīt know what nameservers are good for?
Nameservers are needed to have the hostnames translated into ip adresses. Like normaly you only know the name of a webpage and not its ip adress. So you just ask the nameserver what kind of ip he got for a certain name. you need the ip adress of a server so you can connect to it.

What exactly are you trieng to achive, maybe i can give you further directions.
 
Old 03-10-2005, 04:47 AM   #5
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
Basically, you register a domain and then you own it, let's call it bob.com. after you have the domain, you need at least one server to host the domain, let's say you have a web server at a static IP address on The Internet, 1.2.3.4. The next thing you need is a primary and a backup nameserver, these are the two nameservers you are wondering about. The two nameservers will become the "authoritative" (sp?) nameservers for bob.com so they are the DNS servers (nameservers) that the "root" servers will go to when they need to know what IP address belongs to bob.com, www.bob.com, mail.bob.com et/all.

As far as how to get these, you should probably shop around for more domain registrars. Depending on who you register with, you can get anything from just the domain name (and you provide both DNS servers and all servers like web, mail, etc on that domain) to a full service hosting. You can also find the whole range of services in between these two extremes. As was mentioned earlier, http://www.dyndns.org/ provides DNS hosting (they register you with their DNS nameservers) and there are also full service companies like http://www.summitprojects.com/ who will let you pick a domain name and then do everything including build and host your website. An internet search with keywords like Domain, Registration, Hosting, and Nameserver should turn up other companies offering a varied range of these services.

So you do need to buy the domain and you do need two nameservers and you also need servers, like at least a web server, for the domain you buy, but you can definitly find someone to register with who will provide any of these that you do not wish to maintain yourself.
 
  


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
DISCUSSION: Setting up DNS in Small Subnets sgrayban LinuxAnswers Discussion 5 10-01-2007 04:03 PM
old pentuim 166 box, small server for personal site? mipia Linux - Hardware 1 04-13-2005 12:48 AM
Setting Up a File Server for a Small Business largo Linux - Networking 4 07-20-2004 11:54 PM
Setting up multiple mail servers on one server tumana Linux - Newbie 5 03-12-2004 08:38 PM
Setting DNS servers Boudewijn Linux - Networking 1 12-25-2003 03:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:22 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration