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

Secure scenario should have the configs for Consul DNS to return data #20

Closed
Ranjandas opened this issue Jun 13, 2024 · 1 comment
Closed

Comments

@Ranjandas
Copy link
Owner

When ACLs are enabled, Consul needs either of the following to respond to DNS queries:

  1. Anonymous token should have a policy with service_prefix:read and node_prefix:read. This is how it is handled in Consul-K8S
  2. Have a default token with the above privileges

ref: https://developer.hashicorp.com/consul/docs/security/acl/tokens/create/create-a-dns-token

@Ranjandas
Copy link
Owner Author

Implemented in #17. Ended up picking the Anonymous Policy route.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant