### ntp.conf  -*- Conf -*-
## Configuration for ntpd; see ntp.conf(5).

### Data:

driftfile /var/lib/ntp/ntp.drift

## Log statistics (optional)

# statsdir /var/log/ntpstats/

statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable

### Peers
# peer   example.am-1.org key 39

# keys /etc/ntp.keys
# controlkey 11
# requestkey 13
# trustedkey 11 13
# trustedkey 39

### Servers
# server ntp.example.com iburst

### Pools
## See also: http://www.pool.ntp.org/.
pool 0.debian.pool.ntp.org iburst
pool 1.debian.pool.ntp.org iburst
pool 2.debian.pool.ntp.org iburst
pool 3.debian.pool.ntp.org iburst

### Access control
## See /usr/share/doc/ntp-doc/html/accopt.html,
## http://support.ntp.org/bin/view/Support/AccessRestrictions
##
## Note that "restrict" applies to both servers and clients, so a
## configuration that might be intended to block requests from certain
## clients could also end up blocking replies from your own upstream
## servers.

## By default, exchange time with everybody, but don't allow
## configuration.
restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery

## Local users may interrogate the ntp server more closely.
# restrict 127.0.0.1
restrict ::1

## Needed for adding pool entries
restrict source notrap nomodify noquery

## Clients from this (example!) network have unlimited access, but only
## if cryptographically authenticated.
# restrict 2001:db8:1337:cafe:: mask ffff:ffff:ffff:ffff:: notrust

## Provide periodic multicasts to the local network.
broadcast ff05::101

## Listen to periodic multicasts on the local network.  DANGEROUS!
# disable auth
# multicastclient ff05::101

### ntp.conf ends here
