Created
March 10, 2019 08:18
-
-
Save pranavcode/4567cc23b1677320a75735f7c4e071ff to your computer and use it in GitHub Desktop.
Velotio - HashiCorp Consul Part 1 - Consul DNS Service Discovery
This file contains hidden or 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
$ dig @127.0.0.1 -p 8600 web.service.consul | |
; <<>> DiG 9.11.3-1ubuntu1.5-Ubuntu <<>> @127.0.0.1 -p 8600 web.service.consul | |
; (1 server found) | |
;; global options: +cmd | |
;; Got answer: | |
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51488 | |
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 2 | |
;; WARNING: recursion requested but not available | |
;; OPT PSEUDOSECTION: | |
; EDNS: version: 0, flags:; udp: 4096 | |
;; QUESTION SECTION: | |
;web.service.consul. IN A | |
;; ANSWER SECTION: | |
web.service.consul. 0 IN A 127.0.0.1 | |
;; ADDITIONAL SECTION: | |
web.service.consul. 0 IN TXT "consul-network-segment=" | |
;; Query time: 0 msec | |
;; SERVER: 127.0.0.1#8600(127.0.0.1) | |
;; WHEN: Mon Mar 04 00:59:32 IST 2019 | |
;; MSG SIZE rcvd: 99 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment