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.

The following is my ntpd configure file. I have no idea, which one ntpd will choice while it's syncing?

/etc/ntp.conf
server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org
server pool.ntp.org
share|improve this question

3 Answers 3

The NTP daemon uses an algorithm that will evaluate the time returned by all the listed servers.

You can see it at work with the ntpq -p command.

share|improve this answer
    
Thank for you answer! –  aboutstudy Feb 14 '12 at 2:19
    
@aboutstudy Please consider accepting helpful answers. It provides encouragement to the people answering your questions. :) –  Aaron Copley Feb 29 '12 at 21:00

NTP will look at the stratums, latency, and so on. It will select the server with the best time.

Since you are using pool.ntp.org entries and nothing else it really doesn't matter to much. It will select some server out of the pool.

Keep in mind that it will get time from the other servers as well to make sure that what it is getting from he master is not garbage. So it isn't exclusively using a single server.

share|improve this answer

ntpd will sync with multiple servers to get more accurate results.

share|improve this answer

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.