20071105 my ntp config - plembo/onemoretech GitHub Wiki

title: my ntp config link: https://onemoretech.wordpress.com/2007/11/05/my-ntp-config/ author: lembobro description: post_id: 617 created: 2007/11/05 21:32:05 created_gmt: 2007/11/05 21:32:05 comment_status: open post_name: my-ntp-config status: publish post_type: post

my ntp config

This is what I use at home. For the data center I would always recommend having your own internal time source and then synching THAT with a tier 2 server.

Basically comment out ntp server info that may already be in /etc/ntp.conf and replace with the following by adding to the end of the file:

ntp servers

restrict time.nist.gov mask 255.255.255.255 nomodify notrap noquery
restrict time.nist-a.gov mask 255.255.255.255 nomodify notrap noquery
server time.nist.gov
server time-a.nist.gov

Don’t forget to recycle the ntpd daemon ( on Red Hat systems, /sbin/service ntpd restart).

Copyright 2004-2019 Phil Lembo