# Use public servers from the pool.ntp.org project. # Please consider joining the pool (http://www.pool.ntp.org/join.html). server 0.pool.ntp.org iburst server 1.pool.ntp.org iburst server 2.pool.ntp.org iburst # Ignore stratum in source selection. stratumweight 0 keyfile /etc/chrony/chrony.keys commandkey 1 # Enable kernel RTC synchronization. ! rtcsync # In first three updates step the system clock instead of slew # if the adjustment is larger than 10 seconds. makestep 10 3 # Stop bad estimates upsetting machine clock. maxupdateskew 100 # Allow computers on the unrouted nets to use the server. #allow 10/8 #allow 192.168/16 #allow 172.16/12 # This directive tells chrony to regulate the real-time clock and tells it # where to store related data. It may not work on some newer motherboards # that use the HPET real-time clock. It requires enhanced real-time # support in the kernel. rtcfile /var/lib/chrony/rtc # The last line assumes your clock is on UTC time. Remove it if you use local time. ! rtconutc # Record the rate at which the system clock gains/losses time. driftfile /var/lib/chrony/drift # Specify directory for dumping measurements. dumpdir /var/lib/chrony # Dump measurements when daemon exits. dumponexit logdir /var/log/chrony # This directive forces `chronyd' to send a message to syslog if it # makes a system clock adjustment larger than a threshold value in seconds. logchange 0.5 ! noclientlog log statistics measurements tracking rtc