consul/website/content/docs/services/discovery
J.C. Jones 7689a5ef2d
Document that DNS lookups can target cluster peers (#17990)
Static DNS lookups, in addition to explicitly targeting a datacenter,
can target a cluster peer. This was added in 95dc0c7b30 but didn't make the documentation.

The driving function for the change is `parseLocality` here: 0b1299c28d/agent/dns_oss.go (L25)

The biggest change in this is to adjust the standard lookup syntax to tie
`.<datacenter>` to `.dc` as required-together, and to append in the similar `.<cluster-peer>.peer` optional argument, both to A record and SRV record lookups.

Co-authored-by: David Yu <dyu@hashicorp.com>
2023-07-05 15:03:42 -07:00
..
dns-configuration.mdx docs: Reference doc updates for permissive mTLS settings (#17371) 2023-06-12 10:11:36 -05:00
dns-dynamic-lookups.mdx docs: Updates to support HCP Consul cluster peering release (#16774) 2023-03-29 09:27:41 -07:00
dns-overview.mdx
dns-static-lookups.mdx Document that DNS lookups can target cluster peers (#17990) 2023-07-05 15:03:42 -07:00