-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
TXT RR (node metadata) returned for A query of a service in the Answer section (with enable_additional_node_meta_txt set to false) #4354
Comments
@scalp42 The new feature was specifically designed for when those TXT records get returned in the Additional section of a response and in your case they are being returned in the Answer section. While that feature is behaving as expected you have uncovered another bug in that when querying for an A record you are given back a TXT RR in the answer section. That RR really should belong in the Additional section (and also be filtered with the same setting). |
Thanks for the feedback! |
Ensure TXT RRs always end up in the Additional section except for ANY or TXT queries
Just wanted to add that I have also seen this issue with AAAA queries in Consul 1.2.0 (hostnames/IPs sanitised):
|
Hi folks,
The new flag added in #4215 doesn't appear to work as expected using Consul
1.2.0
(only version supported).Consul config:
The flag
enable_additional_node_meta_txt
is set to false. This is a small testing cluster of 3 and every node was restarted:Dig example:
Let me know if I'm missing something. I understood that the new flag would disable the TXT extra metadata on A query.
Thanks for the help in advance!
The text was updated successfully, but these errors were encountered: