consul icon indicating copy to clipboard operation
consul copied to clipboard

Pass unmatched queries on configured domain to recursive server.

Open tcdent opened this issue 1 year ago • 2 comments

Description

I'm using a real TLD as my configured domain, but the DNS server intercepts all requests.

This allows names which don't match those registered by consul to be handled by the recursive server.

Caveat is that it could leak internal domain names if they are not in the pool and the upstream server is untrusted. Possible to add a configuration flag to enable/disable this feature if desired.

Testing & Reproduction steps

  • Configure consul with a real domain name.
  • Make a request to a real record on the recursive server at that domain.

PR Checklist

  • [ ] updated test coverage
  • [ ] external facing docs updated
  • [ ] appropriate backport labels added
  • [ ] not a security concern

tcdent avatar Sep 26 '24 00:09 tcdent

CLA assistant check
All committers have signed the CLA.

hashicorp-cla-app[bot] avatar Sep 26 '24 00:09 hashicorp-cla-app[bot]

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes

Have you signed the CLA already but the status is still pending? Recheck it.

hashicorp-cla-app[bot] avatar Sep 26 '24 00:09 hashicorp-cla-app[bot]

This pull request has been automatically flagged for inactivity because it has not been acted upon in the last 60 days. It will be closed if no new activity occurs in the next 30 days. Please feel free to re-open to resurrect the change if you feel this has happened by mistake. Thank you for your contributions.

github-actions[bot] avatar Dec 19 '24 01:12 github-actions[bot]

Closing due to inactivity. If you feel this was a mistake or you wish to re-open at any time in the future, please leave a comment and it will be re-surfaced for the maintainers to review.

github-actions[bot] avatar Jan 24 '25 01:01 github-actions[bot]