Using root server...

Jim Reid jim at rfc1035.com
Tue Jan 2 17:23:33 UTC 2001


>>>>> "Cihan" == Cihan Subasi (Garanti Teknoloji) <CihanS at garanti.com.tr> writes:

    Cihan> 	How can I set the dns to use a specific root
    Cihan> server....Mine always uses a.root-servers.com to get the
    Cihan> gtld servers but is it possible to force the dns to use b
    Cihan> root or c root? Thanks....

When your name server starts it will pick one of the root servers at
random. After that, it will query whatever root server appears to
answer quickest. [In fact your server keeps track of the round trip
times (RTTs) for all zones where there's more than one name server for
the zone.] So if your name server is "always using a.root-servers.com"
- how do you know that? - the chances are that this is the name server
that generally answers the fastest for you. Your name server will
periodically forget the round trip times to all of the root
servers. This allows it to automatically adjust for name servers that
have got faster or slower - actually nearer or further away in routing
terms - since the last time it measured the RTTs.

Why do you care which root server your name server queries and why
would you want to control that? Personally, I'd leave the name server
to do this by itself. It can keep track of RTTs to other zone's name
server far better than anything or anyone else.



More information about the bind-users mailing list