NTP Server » History » Version 1
Joseph Foley, 2015-09-05 02:58
1 | 1 | Joseph Foley | h1. NTP Server |
---|---|---|---|
2 | |||
3 | h2. Links |
||
4 | |||
5 | * http://support.ntp.org/bin/view/Support/ConfiguringNTP#Section_6.10. |
||
6 | * http://www.ubuntugeek.com/network-time-protocol-ntp-server-and-clients-setup-in-ubuntu.html |
||
7 | |||
8 | h2. Configuration of @/etc/ntp.con@ on time.dev.ru.is |
||
9 | |||
10 | <pre> |
||
11 | ... |
||
12 | |||
13 | # You do need to talk to an NTP server or two (or three). |
||
14 | #server ntp.ubuntu.com |
||
15 | server 0.no.pool.ntp.org iburst |
||
16 | server 0.dk.pool.ntp.org iburst |
||
17 | server 0.uk.pool.ntp.org iburst |
||
18 | server 1.no.pool.ntp.org iburst |
||
19 | server 1.dk.pool.ntp.org iburst |
||
20 | server 1.uk.pool.ntp.org iburst |
||
21 | server 127.127.1.0 #fallback to local clock if baad |
||
22 | fudge 127.127.1.0 stratum 10 |
||
23 | restrict no.pool.ntp.org noquery |
||
24 | restrict dk.pool.ntp.org noquery |
||
25 | restrict uk.pool.ntp.org noquery |
||
26 | |||
27 | .... |
||
28 | |||
29 | |||
30 | # Clients from this (example!) subnet have unlimited access, but only if |
||
31 | # cryptographically authenticated. |
||
32 | #restrict 130.208.0.0 mask 255.255.0.0 notrust |
||
33 | restrict 130.208.0.0 mask 255.255.0.0 nomodify notrap |
||
34 | </pre> |