Skip to content

Instantly share code, notes, and snippets.

@nelsnelson
nelsnelson / public_dns_servers.md
Created April 23, 2018 16:07
Public DNS Servers
#114dns
114.114.114.114
114.114.115.115
#alibaba.public.dns
223.5.5.5
223.6.6.6
#baidu.public.dns
180.76.76.76
#dnspod.tencent.public.dns
119.29.29.29
@oldsharp
oldsharp / public_dns_list
Last active December 13, 2018 20:15
public dns servers list
# google public dns
8.8.8.8
8.8.4.4
# opendns
208.67.222.222
208.67.220.220
# v2ex dns
199.91.73.222
@azet
azet / synchronize.sh
Last active March 28, 2019 15:11
get time offset from popular stratum 0-3 time servers (stratum 1 distribution is the biggest)
#!/bin/sh
/usr/sbin/ntpdate -qvvvb -s 10 -p 8 time.nist.gov at.pool.ntp.org pool.ntp.org ts1.aco.net ts2.aco.net asynchronos.iiss.at ntpstm.netbone-digital.com time.ufe.cz time.fu-berlin.de atom.uhr.de ntp1.nl.uu.net ntp0.nl.uu.net ntp3.usv.ro utcnist2.colorado.edu timekeeper.isi.edu clock.sjc.he.net nist1.symmetricom.com t2.timegps.net clock.isc.org clepsydra.dec.com gps.layer42.net rackety.udel.edu mizbeaver.udel.edu clock.nyc.he.net otc1.psu.edu timehost.lysator.liu.se ntp0.as34288.net ntp1.as34288.net tick.usask.ca tock.usask.ca

AWS NTP Servers

server 0.amazon.pool.ntp.org iburst
server 1.amazon.pool.ntp.org iburst
server 2.amazon.pool.ntp.org iburst
server 3.amazon.pool.ntp.org iburst

CoreOS NTP Servers

@tuklusan
tuklusan / ntp.conf
Last active March 31, 2019 08:29
sanyalnet-cloud-vps2.freeddns.org stratum-2 /etc/ntp.conf - read more at http://supratim-sanyal.blogspot.com/2017/03/free-public-stratum-2-and-stratum-3-ntp.html
# --
# This is Supratim Sanyal's NTP Server configuration file
# To test, use "ntpdate -q <this host>" from another host
# This server will not respond to peer queries ("ntpdc -q") etc. from
# external hosts.
#
# The stratum 1 servers used by this server are mostly educational and
# military servers from:
# http://support.ntp.org/bin/view/Servers/StratumOneTimeServers?redirectedfrom=Servers.StratumOne
# Comment out the stratum 2 servers to make this server stratum 2 with
@ikarashikei
ikarashikei / ntp.conf
Last active March 31, 2019 08:30
ntp.conf
# For more information about this file, see the man pages
# ntp.conf(5), ntp_acc(5), ntp_auth(5), ntp_clock(5), ntp_misc(5), ntp_mon(5).
driftfile /var/lib/ntp/drift
# Permit time synchronization with our time source, but do not
# permit the source to query or modify the service on this system.
restrict default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery
@ahruschka
ahruschka / raspberryPiNTP.md
Last active March 31, 2019 08:31
NTP server fix for GSU

NTP server fix for GSU

GSU requires all internal devices to only use their NTP server so we need to change the default NTP servers.

$ sudo nano /etc/ntp.conf

Scroll down to NTP servers and add

server ntp.gsu.edu iburst

Comment out all other servers and the following two lines

Keybase proof

I hereby claim:

  • I am natm on github.
  • I am nat (https://keybase.io/nat) on keybase.
  • I have a public key whose fingerprint is 61D2 21DD A630 1F00 04DF 3609 8A22 F06A 1E51 D0C8

To claim this, I am signing this object: