Use several pool.ntp.org sources and request faster initial synchronization.
Which configuration line is appropriate?
The pool directive accepts the pool name and iburst requests an accelerated initial exchange.
Detailed explanation
server=pool.ntp.org,iburstIncorrect. This is not the whitespace-based ntp.conf directive syntax.
Incorrect. This is not the whitespace-based ntp.conf directive syntax.
pool pool.ntp.org iburstCorrect. pool pool.ntp.org iburst supplies the pool and option.
Correct. pool pool.ntp.org iburst supplies the pool and option.
iburst pool.ntp.org poolIncorrect. The directive and arguments are reversed.
Incorrect. The directive and arguments are reversed.
timezone pool.ntp.orgIncorrect. Timezone and NTP sources are separate settings.
Incorrect. Timezone and NTP sources are separate settings.
Try it yourself
An example you can run in a temporary verification environment.
printf '%s
' 'pool pool.ntp.org iburst' | awk '{print "directive="$1, "host="$2, "option="$3}'Expected result
directive=pool host=pool.ntp.org option=iburstKey points
- pool directive
- pool.ntp.org
- iburst assists initial sync
Notes
- Environment: awk / 合成ntp.conf行
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.