mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 14:24:39 +00:00
docs: intro/services: minor fixes
This commit is contained in:
parent
f863a24e37
commit
3ed05e2a43
@ -67,9 +67,9 @@ service using either the DNS or HTTP API.
|
|||||||
|
|
||||||
Let's first query it using the DNS API. For the DNS API, the DNS name
|
Let's first query it using the DNS API. For the DNS API, the DNS name
|
||||||
for services is `NAME.service.consul`. All DNS names are always in the
|
for services is `NAME.service.consul`. All DNS names are always in the
|
||||||
`consul` namespace. The `service` subdomain on that tells Consul we're
|
`consul` namespace. The `service` subdomain tells Consul we're querying
|
||||||
querying services, and the `NAME` is the name of the service. For the
|
services, and the `NAME` is the name of the service. For the web service
|
||||||
web service we registered, that would be `web.service.consul`:
|
we registered, that would be `web.service.consul`:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
$ dig @127.0.0.1 -p 8600 web.service.consul
|
$ dig @127.0.0.1 -p 8600 web.service.consul
|
||||||
|
Loading…
x
Reference in New Issue
Block a user