5

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 ?

1 Answer 1

2

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.

3
  • 5
    It's actually . -> net. -> mysite.net. -> test.mysite.net. Sep 15, 2010 at 11:15
  • @grawity: I believe this is optimized, to avoid the entire world soliciting one poor DNS master server.
    – harrymc
    Sep 15, 2010 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, 2010 at 14:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .