Question

what's a DNS server and what's a router

Asked by: zkaiserm

I have a few questions.
When does a router comes into picture and when does a DNS server comes into picture?
Let's start with a real time scenario.
I want to start a new website. I have my own powerful servers and routers. So i don't need any hosting.
I have an ISP service provider with 50 static ip addresses.
The only thing i need is a domain name.
So where should i start now?
I think i should register a new domain name with a comany who manages that. who would be that company?
From that point onwards, If some one types for example www.mycompany.com what's would be the network path of that request. Where would the request go? how would they access my website.
I would really appreciate if some can give me a big picture of how all this works out?

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2005-10-13 at 12:36:43ID21594303
Tags

dns

,

server

,

router

Topics

Miscellaneous Networking

,

Domain Name Service (DNS)

,

File Transfer Protocol (FTP)

Participating Experts
6
Points
500
Comments
13

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Linksys Router and Win2k DNS
    Is there anyway to update a Microsoft Win2K DNS server with the IP address of a Linksys router given to it by your DSL provider? Thanks
  2. DNS with DHCP router
    Hi I have a home network consisting of two XP machines and a FC4 box. I connect to the internet via DSL-G604T router/modem. The router acts as a DHCP server and appears to be working, I can see all my machies listed in the LAN Clients list. The XP machines can connect to the...
  3. DNS settings on a home router
    Hi, Ive successfully set up a few home routers Does it make any odds what the DNS settings are. (In a home setup / non domain situation) i.e. Does it have to be the ISPs DNS settings? Or can it be any ISP DNS settings that are stable? Is there any technical reason not ...
  4. Router DNS settings
    Hi guys, we have a Netgear FVS318v3 router. In basic settings menu there is a section called DNS Address. Primary DNS: 6x.2xx.1.1x Secondary DNS: 6x.2xx.2.1x In LAN Setup section I set router as a DHCP server. But there are two fields for DNS, too. Primary and secondary. A...
  5. Server 2003 - DNS Forwarders..pointing to Router'…
    Server 2003 install ISP --> Router's outside Live IP --->Router's Inside local IP (172.16.1.1) Server 2003 has been assigned 172.16.1.21 with the 172.16.1.1 listed as the Gateway and the DNS server I can get out and run updates etc, just fine...but my question is on...
  6. Redundant ISP Connection Setup and Config of Routers and…
    We're going to be transitioning from Verizon to AT&T and we want to run them in tandem for a week or two. We're trying to avoid an interruption in service to our web and email servers. We want the Verizon link to answer up and resolve names while the AT&T dns info p...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: glenn_1984Posted on 2005-10-13 at 12:44:35ID: 15080588

If you register your domain at a site like www.godaddy.com or www.1and1.com  (under $10  year per domain),  they will be able to HOST your domain as well.   Hosting can be as little as $5 a month.

So to get a domain name at a low price, go to one of the sites above.

If you want to HOST the domain on your own server, you need to set that server up as web server.  One way is with IIS (part of Windows server).   There are some downsides, however, regarding need for bandwidth, protecting from Viruses and DOS attacks and the general on going maintanence.

It may be smarter to let 1and1 or godaddy host your site for now and take over the protection and management of the server.  
With this scenario....you can develop the website locally (with Frontpage, Dreamweaver or other software), and upload to the website . . .  or with the free wizards on the hosting company's site.

Once the site is registered , the world will find www.mydomain.com within 12-48 hours.

 

by: jasonfarmerPosted on 2005-10-13 at 12:44:39ID: 15080591

www.godaddy.com is cheap and good for registeing domain names..... you will need to change your mx record to point to your servers

 

by: ThrasymachusPosted on 2005-10-13 at 12:57:00ID: 15080698

First you have registered your domain name (at www.godaddy.com or others suggested). This means that you Own the name. No one else on the internet can use it. Next you need to have DNS regestred to point to the IP address of your webserver. your ISP may do this, but if they charge a fee there is some free DNS services like http://www.zoneedit.com/ (godaddy does also offer that service) Once you have your Domain Name registered, then you can go to your ISP or zoneedit and use it to manage your DNS records. this is actually how when a user looks up www.mycompany.com and it returns the IP address of your web server.

as far as you are conserned you can ignore the routing. The routers actually do the routing of the traffic and you do not need to worry about it as long as your Web server is on the Internet and not behind a router that you manage.

 

by: cooljai1Posted on 2005-10-13 at 13:01:59ID: 15080739

What is DNS
http://en.wikipedia.org/wiki/Domain_Name_System
http://computer.howstuffworks.com/dns.htm/printable
You will have to setup a webserver on your server and then host your site on that system.
 So once you have registered your domain name with one of the registrars like the ones given above, you can then point your domain name to the IP address of your server.
So when someone types in www.mysite.com in thier browser window, that browser would contact  the root server to get the corresponding IP, and the request would come to your server.

 

by: zkaisermPosted on 2005-10-13 at 13:02:17ID: 15080743

guys,
  Thanks for your response. I am clearly aware of the things neccessary to set up your own website. what i would like to know is the bigger picture of how things actually work?


Kaiser

 

by: ThrasymachusPosted on 2005-10-13 at 13:25:08ID: 15080966

generally how things work is there is a bunch of DNS servers around the internet, these servers are usually owned by ISPs. These DNS servers have databases that have 'mappings' from the IP address to a domain name.  Each DNS server is assinged which domains it has 'authority' over and therefore who has the 'rights' to change the IP address for any domain name. These DNS servers to periodioc replication of their databases with each other so if the DNS server that has authority to change the IP address of a domain changes it, the changes are replicated throughout the internet durring the process. Generally this can take 24-48 hours to complete across the globe.

The users who want to open a web page have been assinged a specific DNS (or two or more) server (generally by their own ISP) to use in order to handle these lookups. when the user types in www.mycompany.com the computer asks the DNS server that was given to it by the ISP what is the 'IP address for www.mycompany.com' the DNS server (if it knows it -if it does not then it may look to other DNS servers to find out what it is, depending on the rules set up in that particular DNS server) returns the ipaddress to the computer trying to browse the internet, then the routers do all the work of getting the data to and from the client IP and the web server IP.

That was a very quick and dirty approch, I hope it helps.

 

by: zkaisermPosted on 2005-10-13 at 14:47:59ID: 15081605

Thrasymachus,
   This is what exactly i wanted which is 'under the hood'. That's very impressive. Thanks for your response. I have a few more related questions. When does the router comes into the picture? we are a small company and we have our dns server and router? what's the use of having our own dns server and routers when the ISP has it? and a big question? Who these internet service providers and what's a backbone?

Thanks,
Kaiser

 

by: WMIFPosted on 2005-10-13 at 15:03:07ID: 15081697

this is a great site for explaining how tons of things work.  here is their article on the internet:
http://computer.howstuffworks.com/internet-infrastructure.htm

 

by: zkaisermPosted on 2005-10-13 at 15:05:42ID: 15081711

I have seen articles myself. I need a brief overview. That should help.

 

by: WMIFPosted on 2005-10-13 at 15:12:05ID: 15081739

honestly, thats about as brief as you can get.  to understand how one part works, you have to understand how another part works.  that article steps you through all the parts.

 

by: ThrasymachusPosted on 2005-10-13 at 15:14:12ID: 15081749

DNS is like an address book. Routers are like the road signs along the way.

each network has a series of IP addresses within it that is defined by a subnet mask that generally look something like 255.255.255.0
the subnet mask defines which IP address are within that particular network. each computer has an IP adderss that coresponds with a Router. this is generally called the Default gateway.  The router has a list of routes in witin it so when it recieves a packet from a computer or another router is knows where to send the packed next in order to get to it's ultimate destination. (Should it take a right or left turn)
Routers use routing protocols to determine what the best path is to get the packet to it's destination.

You would probably have one router that your Web server uses as it's default gateway and it sends the packet to your ISP and then it gets routed and routed until it gets to where it needs to be. If you want to see this in action bring up a command prompt and type 'tracert google.com' you will get a series of hops and each one is a router. the first hop is probably your default gateway and the last one is one of Google's web servers.

If you are a small company I would suggest that there is not a huge benifit to having your own DNS server (for external addresses - you may still need a DNS for internal ones. but that is a sepperate issue) As I stated you still need one Router to route all your internal traffic to the ISP (and possibly doing NAT, but that is a sepeate question as well)

I do not understand exactly what you mean by who theses ISP are? a backbone is generally the linking of all your network traffic through hubs/switches.

I hope that helps sorry for the bad spelling
-Thrasymachus

 

by: zkaisermPosted on 2005-10-13 at 20:44:49ID: 15082892

I do not understand exactly what you mean by who theses ISP are?

If some want's to become an Internet service provider, what does he need?

 

by: r_naren22atyahooPosted on 2005-10-13 at 22:01:28ID: 15083087

Internet means
Thousnads of networks, like universities, large companies, commercial organizations like yahoo, hotmail, msn are all interconnected to make
INTERNET.

ISP, an ISP is a company that connetes 1 end to the internet
and other end will give connections to the end users with varioes types of links, like dial up and broad band

if you want to connect to the internet,
your ISP is the main gateway to enter into intenet

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...