Skip to content

Instantly share code, notes, and snippets.

@vsoch
Created January 14, 2019 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vsoch/775b54e54e5e599a9f510c84475bf31c to your computer and use it in GitHub Desktop.
Save vsoch/775b54e54e5e599a9f510c84475bf31c to your computer and use it in GitHub Desktop.
Singularity Hub Debugging
## The following shows some debugging output when Google nameservers are added to /etc/resolv.conf (8.8.8.8 and 8.8.4.4)
#################################################################
$ whois singularity-hub.org
Domain Name: SINGULARITY-HUB.ORG
Registry Domain ID: D402200000000429751-LROR
Registrar WHOIS Server: whois.google.com
Registrar URL: http://domains.google.com
Updated Date: 2019-01-14T16:27:45Z
Creation Date: 2016-10-31T00:59:19Z
Registry Expiry Date: 2019-10-31T00:59:19Z
Registrar Registration Expiration Date:
Registrar: Google Inc.
Registrar IANA ID: 895
Registrar Abuse Contact Email: registrar-abuse@google.com
Registrar Abuse Contact Phone: +1.6502530000
Reseller:
Domain Status: ok https://icann.org/epp#ok
Registrant Organization: Contact Privacy Inc. Customer 124888714
Registrant State/Province: ON
Registrant Country: CA
Name Server: NS-CLOUD-E1.GOOGLEDOMAINS.COM
Name Server: NS-CLOUD-E2.GOOGLEDOMAINS.COM
Name Server: NS-CLOUD-E3.GOOGLEDOMAINS.COM
Name Server: NS-CLOUD-E4.GOOGLEDOMAINS.COM
DNSSEC: unsigned
URL of the ICANN Whois Inaccuracy Complaint Form https://www.icann.org/wicf/)
>>> Last update of WHOIS database: 2019-01-14T18:58:33Z <<<
For more information on Whois status codes, please visit https://icann.org/epp
Access to Public Interest Registry WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Public Interest Registry registry database. The data in this record is provided by Public Interest Registry for informational purposes only, and Public Interest Registry does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Afilias except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Public Interest Registry reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.
The Registrar of Record identified in this output may have an RDDS service that can be queried for additional information on how to contact the Registrant, Admin, or Tech contact of the queried domain name.
#################################################################
# Dig for www.singularity-hub.org and singularity-hub.org
$ dig singularity-hub.org ANY
; <<>> DiG 9.10.3-P4-Ubuntu <<>> singularity-hub.org ANY
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41100
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;singularity-hub.org. IN ANY
;; ANSWER SECTION:
singularity-hub.org. 299 IN A 35.197.63.182
singularity-hub.org. 21599 IN NS ns-cloud-e1.googledomains.com.
singularity-hub.org. 21599 IN NS ns-cloud-e2.googledomains.com.
singularity-hub.org. 21599 IN NS ns-cloud-e3.googledomains.com.
singularity-hub.org. 21599 IN NS ns-cloud-e4.googledomains.com.
singularity-hub.org. 21599 IN SOA ns-cloud-e1.googledomains.com. cloud-dns-hostmaster.google.com. 1 21600 3600 259200 300
;; Query time: 37 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Mon Jan 14 14:01:30 EST 2019
;; MSG SIZE rcvd: 249
#################################################################
$ dig www.singularity-hub.org ANY
; <<>> DiG 9.10.3-P4-Ubuntu <<>> www.singularity-hub.org ANY
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50716
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;www.singularity-hub.org. IN ANY
;; ANSWER SECTION:
www.singularity-hub.org. 299 IN CNAME singularity-hub.org.
;; Query time: 26 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Mon Jan 14 14:01:47 EST 2019
;; MSG SIZE rcvd: 66
# The following are the same commands, but commenting out the Google nameservers.
#################################################################
$ whois singularity-hub.org
# output is the same as above
#################################################################
# !!!! with dig notice that the A record is different! 13.72.107.243 != 35.197.63.182
# Why is that?
$ dig singularity-hub.org ANY
$ dig www.singularity-hub.org ANY
; <<>> DiG 9.10.3-P4-Ubuntu <<>> www.singularity-hub.org ANY
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35814
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;www.singularity-hub.org. IN ANY
;; ANSWER SECTION:
www.singularity-hub.org. 555308 IN A 13.72.107.243
;; Query time: 2 msec
;; SERVER: 127.0.1.1#53(127.0.1.1)
;; WHEN: Mon Jan 14 14:04:09 EST 2019
;; MSG SIZE rcvd: 68
@vsoch
Copy link
Author

vsoch commented Jan 14, 2019

Also compare:

# with google DNS
$ traceroute singularity-hub.org
traceroute to singularity-hub.org (35.197.63.182), 64 hops max

# without
$ traceroute singularity-hub.org
traceroute to singularity-hub.org (13.72.107.243), 64 hops max

So apparently there is some registration of singularity-hub.org with a different ip address, and I'm not sure why / how that could happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment