Skip to content

Instantly share code, notes, and snippets.

#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
@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

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

My preferred code style is 2-space K&R. This is intended to provide a justification for this style.

Why K&R?

K&R style has the following properties:

  1. Provides symmetric size (in terms of screen space consumed) between the opening and closing syntax of a clode block.
  2. Forces no empty or meaningless lines, thereby avoiding artificial distance between related things that should be together.
  3. Consumes the minimum vertical space while keeping the opening and closing syntax of a block on separate lines from the content.
@mygoare
mygoare / dns
Created April 15, 2015 04:11
public dns list
#公共DNS
##国外
- Google DNS: `8.8.8.8` `8.8.4.4`
- OpenDNS: `208.67.222.222` `208.67.220.220`
- OpenNIC: `106.186.17.181`(Japan) `128.199.248.105`(Singapore) `203.248.252.2`(Korea)
- Comodo Secure DNS: `8.26.56.26` `8.20.247.20`
- Norton DNS: `198.153.192.1` `198.153.194.1`
- Norton ConnectSafe DNS: `199.85.126.20` `199.85.127.20`
---
@roge
roge / dns.md
Last active August 6, 2023 07:32
Public DNS Servers

DNS.md

A list of reasonably reliable DNS servers that I've personally tested to ensure that they fully support DNSSEC and do not hijack NXDOMAIN responses.

IPv4

Address Organization Location Service
8.8.8.8 Google Worldwide (Anycast) Google Public DNS
8.8.4.4 Google Worldwide (Anycast) Google Public DNS
@rmamba
rmamba / TLDs
Last active March 27, 2023 06:26
{
"com": "whois.internic.net",
"net": "whois.internic.net",
"org": "whois.internic.net",
"edu": "whois.internic.net",
"uk.com": "whois.uk.com",
"eu.org": "whois.eu.org",
"ac": "whois.nic.ac",
"al": "whois.ripe.net",
"am": "whois.amnic.net",
@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

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: