Update website/content/docs/discovery/dns.mdx

Co-authored-by: Jared Kirschner <85913323+jkirschner-hashicorp@users.noreply.github.com>
pull/11458/head
Konstantine 3 years ago committed by GitHub
parent f02be1e2c3
commit 90e2828601
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -102,7 +102,7 @@ Consul support setting an alternative domain, which is usefull during DNS migrat
internal and external queries with different domains. internal and external queries with different domains.
If you are using [`alt_domain`](/docs/agent/options#alt_domain) parameter, Consul will respond based on the presence of it in your queries. If you are using [`alt_domain`](/docs/agent/options#alt_domain) parameter, Consul will respond based on the presence of it in your queries.
For exmaple if `test-domain` is configured as an alternative domain the following query: For example, if `test-domain` is configured as the alternative domain, the following query:
```shell-session ```shell-session
$ dig @127.0.0.1 -p 8600 consul.service.test-domain SRV $ dig @127.0.0.1 -p 8600 consul.service.test-domain SRV

Loading…
Cancel
Save