Skip to content

Instantly share code, notes, and snippets.

@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
@bencevans
bencevans / tld2whois.json
Created November 3, 2012 01:08
TLD -> WHOIS Server in JSON (Originally from http://www.nirsoft.net/whois_servers_list.html)
{
"ac":"whois.nic.ac",
"ae":"whois.nic.ae",
"af":"whois.nic.af",
"ag":"whois.nic.ag",
"al":"whois.ripe.net",
"am":"whois.amnic.net",
"as":"whois.nic.as",
"at":"whois.nic.at",
"au":"whois.aunic.net",
@claudiosanches
claudiosanches / whois.php
Last active March 27, 2023 06:29
WordPress - Domain Whois
<?php
/**
* Plugin Name: Domain Whois
* Plugin URI: https://claudiosmweb.com
* Description: Domain Whois
* Author: claudiosanches
* Author URI: http://claudiosmweb.com
* Version: 0.0.1
* License: GPLv2 or later
*/
@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
@mikemackintosh
mikemackintosh / gist:9494166
Last active March 27, 2023 06:25
ip2nic.txt
1.0.0.0/8,apnic
2.0.0.0/8,ripe
3.0.0.0/8,arin
4.0.0.0/8,arin
5.0.0.0/8,ripe
6.0.0.0/8,arin
7.0.0.0/8,arin
8.0.0.0/8,arin
9.0.0.0/8,arin
10.0.0.0/8,rfc1918

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:

@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
@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",
@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