xref: /openbsd/etc/examples/ntpd.conf (revision d415bd75)
1# $OpenBSD: ntpd.conf,v 1.5 2019/11/11 16:44:37 deraadt Exp $
2# sample ntpd configuration file, see ntpd.conf(5)
3
4# Addresses to listen on (ntpd does not listen by default)
5#listen on *
6
7# sync to a single server
8#server ntp.example.org
9
10# use a random selection of NTP Pool Time Servers
11# see http://support.ntp.org/bin/view/Servers/NTPPoolServers
12servers pool.ntp.org
13
14# time server with excellent global adjacency
15server time.cloudflare.com
16
17# use a specific local timedelta sensor (radio clock, etc)
18sensor nmea0 trusted
19
20# use all detected timedelta sensors
21#sensor *
22
23# get the time constraint from a well-known HTTPS site
24constraint from "9.9.9.9"		# quad9 v4 without DNS
25constraint from "2620:fe::fe"		# quad9 v6 without DNS
26constraints from "www.google.com"	# intentionally not 8.8.8.8
27