daily pastebin goal
10%
SHARE
TWEET

Untitled

a guest Nov 20th, 2012 33 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ####server starts here
  2. driftfile /etc/ntp.drift
  3. # Enable this if you want statistics to be logged.
  4. statsdir /var/log/ntpstats/
  5. statistics loopstats peerstats clockstats
  6. filegen loopstats file loopstats type day enable
  7. filegen peerstats file peerstats type day enable
  8. filegen clockstats file clockstats type day enable
  9. # Specify one or more NTP servers.
  10. # Use servers from the NTP Pool Project. Approved by Ubuntu Technical Board
  11. # on 2011-02-08 (LP: #104525). See http://www.pool.ntp.org/join.html for
  12. # more information.
  13. server 0.ubuntu.pool.ntp.org
  14. server 1.ubuntu.pool.ntp.org
  15. server 2.ubuntu.pool.ntp.org
  16. server 3.ubuntu.pool.ntp.org
  17. # Use Ubuntu's ntp server as a fallback.
  18. server ntp.ubuntu.com
  19. # Clients from this (example!) subnet have unlimited access, but only if
  20. # cryptographically authenticated.
  21. #restrict 192.168.123.0 mask 255.255.255.0 notrust
  22. restrict 10.10.0.0 mask 255.255.255.0 nomodify notrap
  23. # If you want to provide time to your local subnet, change the next line.
  24. # (Again, the address is an example only.)
  25. broadcast 10.10.0.0
  26.  
  27. ###client starts here
  28. driftfile /var/lib/ntp/ntp.drift
  29. # Enable this if you want statistics to be logged.
  30. #statsdir /var/log/ntpstats/
  31. statistics loopstats peerstats clockstats
  32. filegen loopstats file loopstats type day enable
  33. filegen peerstats file peerstats type day enable
  34. filegen clockstats file clockstats type day enable
  35. # You do need to talk to an NTP server or two (or three).
  36. server ntp.ubuntu.com
  37. server 10.10.0.254
  38. # By default, exchange time with everybody, but don't allow configuration.
  39. restrict -4 default kod notrap nomodify nopeer noquery
  40. restrict -6 default kod notrap nomodify nopeer noquery
  41. # Local users may interrogate the ntp server more closely.
  42. restrict 127.0.0.1
  43. restrict ::1
RAW Paste Data
Top