Skip to content

Instantly share code, notes, and snippets.

@bketelsen
Last active August 29, 2015 14:07
Show Gist options
  • Save bketelsen/b9bae2a910eff666e448 to your computer and use it in GitHub Desktop.
Save bketelsen/b9bae2a910eff666e448 to your computer and use it in GitHub Desktop.
SkyDNS serving Kubernetes Services
dig @localhost redismaster.skydns.local
; <<>> DiG 9.9.5-3-Ubuntu <<>> @localhost redismaster.skydns.local
; (2 servers found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41256
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;redismaster.skydns.local. IN A
;; ANSWER SECTION:
redismaster.skydns.local. 30 IN A 10.10.0.1
;; Query time: 6 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Oct 08 13:09:27 UTC 2014
;; MSG SIZE rcvd: 58
dig @localhost srv redismaster.skydns.local
; <<>> DiG 9.9.5-3-Ubuntu <<>> @localhost srv redismaster.skydns.local
; (2 servers found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48556
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;redismaster.skydns.local. IN SRV
;; ANSWER SECTION:
redismaster.skydns.local. 30 IN SRV 10 100 10000 redismaster.skydns.local.
;; ADDITIONAL SECTION:
redismaster.skydns.local. 30 IN A 10.10.0.1
;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Oct 08 13:10:49 UTC 2014
;; MSG SIZE rcvd: 102
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment