Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created June 11, 2020 08:57
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 velotiotech/53db92fe177fe24c373935d2f4691f3c to your computer and use it in GitHub Desktop.
Save velotiotech/53db92fe177fe24c373935d2f4691f3c to your computer and use it in GitHub Desktop.
Velotio - HashiCorp Consul Part 1 - Consul DNS Check
$ dig @127.0.0.1 -p 8600 devcube.node.consul
; <<>> DiG 9.11.3-1ubuntu1.5-Ubuntu <<>> @127.0.0.1 -p 8600 devcube.node.consul
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42215
;; 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:
;devcube.node.consul. IN A
;; ANSWER SECTION:
devcube.node.consul. 0 IN A 127.0.0.1
;; ADDITIONAL SECTION:
devcube.node.consul. 0 IN TXT "consul-network-segment="
;; Query time: 19 msec
;; SERVER: 127.0.0.1#8600(127.0.0.1)
;; WHEN: Mon Mar 04 00:45:44 IST 2019
;; MSG SIZE rcvd: 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment