We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Client: 0.6.4 Server: 0.6.4
0.6.4
When obtaining services with DNS SVR backed with prepared query. Returned hostnames could not be resolved by Consul.
{ "ID":"01e751dd-3386-5e9c-f2d1-160799d7c8da", "Name":"", "Session":"", "Token":"", "Template":{ "Type":"name_prefix_match", "Regexp":"" }, "Service":{ "Service":"${name.full}", "Failover":{ "NearestN":2, "Datacenters":[ "dc1", "dc2" ] }, "OnlyPassing":false, "Tags":null }, "DNS":{ "TTL":"" }, "CreateIndex":5143303, "ModifyIndex":7721140 }
dig @agent.dc1.consul -p 8600 my-service.query.consul. SRV ;; ANSWER SECTION: my-service.query.consul. 0 IN SRV 1 1 31529 my-hostname-from-dc2.node.dc1.consul.
dig @agent.dc1.consul -p 8600 my-hostname-from-dc2.node.dc1.consul. A
returns no results.
Problem lies in consul adding <dc>.consul from agent performing query not the agent service is located.
<dc>.consul
The text was updated successfully, but these errors were encountered:
I see 2 possible hotfixes
Sorry, something went wrong.
Looks like you have the same issue as me. Please take a look at #2219
Successfully merging a pull request may close this issue.
Client:
0.6.4
Server:
0.6.4
Description of the Issue (and unexpected/desired result)
When obtaining services with DNS SVR backed with prepared query. Returned hostnames could not be resolved by Consul.
Reproduction steps
returns no results.
Problem lies in consul adding
<dc>.consul
from agent performing query not the agent service is located.The text was updated successfully, but these errors were encountered: