Created
September 16, 2015 03:40
-
-
Save stuartrexking/ea4ba8f56533508ac38f to your computer and use it in GitHub Desktop.
Consul DNS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@n1:~$ dig @localhost –t SRV eventstore.service.consul | |
; <<>> DiG 9.9.5-3ubuntu0.5-Ubuntu <<>> @localhost –t SRV eventstore.service.consul | |
; (1 server found) | |
;; global options: +cmd | |
;; Got answer: | |
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 10149 | |
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1 | |
;; OPT PSEUDOSECTION: | |
; EDNS: version: 0, flags:; udp: 512 | |
;; QUESTION SECTION: | |
;\226\128\147t. IN SRV | |
;; AUTHORITY SECTION: | |
. 1799 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2015091501 1800 900 604800 86400 | |
;; Query time: 391 msec | |
;; SERVER: 127.0.0.1#53(127.0.0.1) | |
;; WHEN: Wed Sep 16 03:39:44 UTC 2015 | |
;; MSG SIZE rcvd: 108 | |
;; Got answer: | |
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61890 | |
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 | |
;; QUESTION SECTION: | |
;eventstore.service.consul. IN A | |
;; ANSWER SECTION: | |
eventstore.service.consul. 0 IN A 172.20.20.11 | |
eventstore.service.consul. 0 IN A 172.20.20.10 | |
;; Query time: 0 msec | |
;; SERVER: 127.0.0.1#53(127.0.0.1) | |
;; WHEN: Wed Sep 16 03:39:44 UTC 2015 | |
;; MSG SIZE rcvd: 125 | |
vagrant@n1:~$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment