Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# jdyer at MacBook-Pro.local in ~/Projects/consul [15:48:45]
$ dig @localhost -p 8600 _sip._udp.service.consul srv
; <<>> DiG 9.10.0-P2 <<>> @localhost -p 8600 _sip._udp.service.consul srv
; (3 servers found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 5926
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;_sip._udp.service.consul. IN SRV
;; Query time: 0 msec
;; SERVER: 127.0.0.1#8600(127.0.0.1)
;; WHEN: Fri Sep 12 15:49:04 EDT 2014
;; MSG SIZE rcvd: 42
{
"service": {
"id": "runtimes",
"name": "sip",
"port": 5060,
"tags": [
"udp"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment