mirror of https://github.com/hashicorp/consul
docs: intro/services: minor fixes
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
|
||||
for services is `NAME.service.consul`. All DNS names are always in the
|
||||
`consul` namespace. The `service` subdomain on that tells Consul we're
|
||||
querying services, and the `NAME` is the name of the service. For the
|
||||
web service we registered, that would be `web.service.consul`:
|
||||
`consul` namespace. The `service` subdomain tells Consul we're querying
|
||||
services, and the `NAME` is the name of the service. For the web service
|
||||
we registered, that would be `web.service.consul`:
|
||||
|
||||
```text
|
||||
$ dig @127.0.0.1 -p 8600 web.service.consul
|
||||
|
|
Loading…
Reference in New Issue