Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support RFC 2782 SRV lookups for prepared queries #14465

Merged
merged 2 commits into from
Nov 20, 2022

Conversation

jkirschner-hashicorp
Copy link
Contributor

@jkirschner-hashicorp jkirschner-hashicorp commented Sep 2, 2022

Closes #14143

Supported prepared query DNS lookups:

  • Existing: <query id or name>.query[.<datacenter>].<domain>
  • New: _<query id or name>._tcp.query[.<datacenter>].<domain>

Testing

Refer to included unit test changes

@jkirschner-hashicorp jkirschner-hashicorp marked this pull request as draft September 3, 2022 21:47
@jkirschner-hashicorp jkirschner-hashicorp marked this pull request as ready for review September 4, 2022 21:01
@jkirschner-hashicorp jkirschner-hashicorp requested a review from a team as a code owner September 4, 2022 21:01
@jkirschner-hashicorp jkirschner-hashicorp changed the title Support RFC 2782 for prepared query DNS lookups Support RFC 2782 SRV lookups for prepared queries Sep 4, 2022
Copy link
Contributor

@boruszak boruszak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed 14465.txt and dns.mdx on behalf of the consul-docs team. Just one minor suggestion! Otherwise LGTM!

Approving on behalf of the consul-docs team.


The `datacenter` is optional, and if not provided, the datacenter of this Consul
agent is assumed.

The `query or name` is the ID or given name of an existing
The `query name or id` is the ID or given name of an existing
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The `query name or id` is the ID or given name of an existing
The `query name or id` is the given name or ID of an existing

Matching the order of fields/what they refer to.

@jkirschner-hashicorp jkirschner-hashicorp requested a review from a team October 21, 2022 13:10
@jkirschner-hashicorp jkirschner-hashicorp added the type/docs Documentation needs to be created/updated/clarified label Oct 21, 2022
Format:
	_<query id or name>._tcp.query[.<datacenter>].<domain>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/docs Documentation needs to be created/updated/clarified
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RFC2782 compliant SRV records on prepared queries
3 participants