Skip to content

Instantly share code, notes, and snippets.

@legumbre
Created July 12, 2012 01:58
Show Gist options
  • Save legumbre/3095170 to your computer and use it in GitHub Desktop.
Save legumbre/3095170 to your computer and use it in GitHub Desktop.
# what my local dns was resolving
piragua ~ $ dig pinboard.in
; <<>> DiG 9.4.2-P1 <<>> pinboard.in
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 17906
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;pinboard.in. IN A
# yet when I asked 4.2.2.2
piragua ~ $ dig @4.2.2.2 pinboard.in
; <<>> DiG 9.4.2-P1 <<>> @4.2.2.2 pinboard.in
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28507
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;pinboard.in. IN A
;; ANSWER SECTION:
pinboard.in. 825 IN A 71.19.151.30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment