You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means we properly set the response code to NXDOMAIN if there are no instances, but we respond with no answers with NOERROR if all the instances are being filtered out. This should also be NXDOMAIN to avoid confusing recursive resolvers.
The text was updated successfully, but these errors were encountered:
We check if there are no service instances in the DNS parser (https://github.com/hashicorp/consul/blob/master/command/agent/dns.go#L482) before we do the filtering on health (https://github.com/hashicorp/consul/blob/master/command/agent/dns.go#L499).
This means we properly set the response code to
NXDOMAIN
if there are no instances, but we respond with no answers withNOERROR
if all the instances are being filtered out. This should also beNXDOMAIN
to avoid confusing recursive resolvers.The text was updated successfully, but these errors were encountered: