Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

quick question for you, when I enter adress like test.mysite.net, first I connect to my ISP DNS, than if not found there to .NET DNS, than to mysite DNS, what after that?

I mean, I know that test.mysite.net could be at different IP adress, but what if I want to run virtual server there? I get the same IP as mysite.net has, and how does server know wheather I want to reach for test.mysite or mysite directly, if they have same IP adress ?

share|improve this question

migrated from superuser.com Sep 15 '10 at 15:35

This question came from our site for computer enthusiasts and power users.

add comment

1 Answer

This isn't a tricky question.
It's basic DNS operations to evaluate in the order of .net -> mysite.net -> test.mysite.net, passing the request from one domain DNS server to another.

See How Lookups Are Handled for a graphical explanation.

share|improve this answer
5  
It's actually . -> net. -> mysite.net. -> test.mysite.net. –  grawity Sep 15 '10 at 11:15
    
@grawity: I believe this is optimized, to avoid the entire world soliciting one poor DNS master server. –  harrymc Sep 15 '10 at 11:40
1  
@harrymc, you can see the DNS root servers here - root-servers.org. Looks like we're up to around 200 physical servers backing up the 13 root server names. But yes, I believe the load on the roots tends to be intense. DNS software will often cache responses so it will know net., but when the cache expires it will go back to . to refresh. –  dsolimano Sep 15 '10 at 14:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.