Skip to content

Instantly share code, notes, and snippets.

@rnelson
Last active October 28, 2024 19:07
Show Gist options
  • Save rnelson/e10001a99104ffd2ee1a3c778a63a04a to your computer and use it in GitHub Desktop.
Save rnelson/e10001a99104ffd2ee1a3c778a63a04a to your computer and use it in GitHub Desktop.
Overkill? Almost certainly overkill.
# /etc/ntpd.conf, OpenBSD 7.6
listen on *
sensor nmea1 refid GPS trusted weight 9 # USB GPS device
sensor nmea0 refid GPS trusted weight 8 # USB GPS device
server tick.binary.net weight 4 # Binary.net (Lincoln, NE)
server tock.binary.net weight 4 # Binary.net (Lincoln, NE)
server tick.ellipse.net weight 4 # Binary.net (Lincoln, NE)
server tock.ellipse.net weight 4 # Binary.net (Lincoln, NE)
server time.nist.gov weight 3 # National Center for Atmospheric Research (Boulder, CO)
#server tick.usno.navy.mil weight 3 # US Naval Observatory (Washington, DC) ## RESTRICTED ACCESS
#server tock.usno.navy.mil weight 3 # US Naval Observatory (Washington, DC) ## RESTRICTED ACCESS
servers us.pool.ntp.org weight 3 # ntp.org (US pool)
server time.windows.com weight 2 # Microsoft (UNKNOWN)
server time.cloudflare.com weight 1 # Cloudflare (UNKNOWN)
server time.google.com weight 1 # Google (UNKNOWN)
servers time.apple.com weight 1 # Apple (UNKNOWN)
servers time.aws.com weight 1 # Amazon (UNKNOWN)
server clock.isc.org weight 1 # Internet Software Consortium (Palo Alto, CA)
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
constraints from "libexec.net" # hey, that's me!
null$ ntpctl -s all
21/21 peers valid, 1/2 sensors valid, constraint offset -1s, clock unsynced

peer
   wt tl st  next  poll          offset       delay      jitter
216.229.0.49 tick.binary.net
    4 10  2   17s   32s         1.632ms    19.607ms     4.674ms
216.229.0.50 tock.binary.net
    4 10  2   20s   34s         3.238ms    19.854ms     0.956ms
216.229.4.66 tick.ellipse.net
    4 10  2   23s   34s         2.237ms    19.612ms     1.169ms
216.229.4.69 tock.ellipse.net
    4 10  2   17s   33s         2.790ms    20.150ms     2.127ms
132.163.97.4 time.nist.gov
    3 10  1   25s   30s        -2.768ms    37.502ms     5.869ms
168.61.215.74 time.windows.com
    2 10  3   17s   31s        -2.283ms    28.262ms     1.304ms
162.159.200.123 time.cloudflare.com
    1 10  3   16s   30s         3.010ms    15.052ms     2.000ms
216.239.35.8 time.google.com
    1 10  1   19s   34s         2.552ms    30.743ms     8.210ms
204.93.207.11 clock.isc.org
    1 10  3   19s   34s        -3.702ms    23.832ms     5.334ms
51.81.226.229 from pool us.pool.ntp.org
    3 10  2   26s   31s         5.178ms    70.291ms     5.176ms
51.81.209.232 from pool us.pool.ntp.org
    3 10  2   21s   31s         3.681ms    70.873ms     6.742ms
99.28.14.242 from pool us.pool.ntp.org
    3 10  1   18s   32s         3.349ms    32.011ms     2.816ms
155.248.196.28 from pool us.pool.ntp.org
    3 10  2   15s   34s        -2.628ms    59.012ms     6.718ms
17.253.26.253 from pool time.apple.com
    1 10  2   21s   33s         2.999ms    22.003ms     4.403ms
17.253.26.251 from pool time.apple.com
    1 10  1   18s   32s         2.511ms    20.254ms     1.872ms
54.90.191.9 from pool time.aws.com
    1 10  4   21s   30s         2.424ms    47.559ms     3.174ms
44.201.148.133 from pool time.aws.com
    1 10  4   23s   32s         2.437ms    46.609ms     2.583ms
54.161.254.100 from pool time.aws.com
    1 10  4   21s   34s         2.490ms    46.730ms     2.024ms
54.210.225.137 from pool time.aws.com
    1 10  4   12s   30s         3.127ms    46.260ms     2.869ms
3.94.91.31 from pool time.aws.com
    1 10  4   27s   33s         2.523ms    47.842ms     2.002ms
17.253.6.37 from pool time.apple.com
    1  9  1   16s   33s         0.142ms    41.328ms     4.223ms

sensor
   wt gd st  next  poll          offset  correction
nmea0  GPS
    8  1  0    6s   15s       -57.696ms     0.000ms
nmea1  GPS
    9  0  0    6s   15s         - sensor not valid -
null$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment