summaryrefslogtreecommitdiff
path: root/templates/ntpd.conf.openbsd.tmpl
blob: 05610bb6e872de0e7ce40a71ffb42665aa0d5a41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
## template:jinja

# $OpenBSD: ntpd.conf,v 1.16 2019/11/06 19:04:12 deraadt Exp $
#
# See ntpd.conf(5) and /etc/examples/ntpd.conf

{% if pools %}# pools
{% endif %}
{% for pool in pools -%}
servers {{pool}}
{% endfor %}
{% for server in servers -%}# servers
server {{server}}
{% endfor %}
sensor *

constraint from "9.9.9.9"              # quad9 v4 without DNS
constraint from "2620:fe::fe"          # quad9 v6 without DNS
constraints from "www.google.com"      # intentionally not 8.8.8.8