Skip to content

Instantly share code, notes, and snippets.

@xxdesmus
Created February 25, 2014 03:53
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 xxdesmus/9202356 to your computer and use it in GitHub Desktop.
Save xxdesmus/9202356 to your computer and use it in GitHub Desktop.
CNAME flattening in action
dig shiftyplatypus.com
; <<>> DiG 9.8.3-P1 <<>> shiftyplatypus.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26231
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;shiftyplatypus.com. IN A
;; ANSWER SECTION:
shiftyplatypus.com. 300 IN A 162.159.252.112
shiftyplatypus.com. 300 IN A 162.159.254.112
shiftyplatypus.com. 300 IN A 162.159.255.111
shiftyplatypus.com. 300 IN A 162.159.254.111
shiftyplatypus.com. 300 IN A 162.159.253.112
;; Query time: 44 msec
;; SERVER: 208.67.222.222#53(208.67.222.222)
;; WHEN: Mon Feb 24 19:52:44 2014
;; MSG SIZE rcvd: 116
dig www.shiftyplatypus.com
; <<>> DiG 9.8.3-P1 <<>> www.shiftyplatypus.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24800
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.shiftyplatypus.com. IN A
;; ANSWER SECTION:
www.shiftyplatypus.com. 300 IN A 162.159.254.112
www.shiftyplatypus.com. 300 IN A 162.159.253.112
www.shiftyplatypus.com. 300 IN A 162.159.252.112
www.shiftyplatypus.com. 300 IN A 162.159.255.111
www.shiftyplatypus.com. 300 IN A 162.159.254.111
;; Query time: 258 msec
;; SERVER: 208.67.222.222#53(208.67.222.222)
;; WHEN: Mon Feb 24 19:52:49 2014
;; MSG SIZE rcvd: 120
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment