Skip to content

Upstream resolver should be configurable #107

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

Open
hughsaunders opened this issue Mar 31, 2025 · 1 comment
Open

Upstream resolver should be configurable #107

hughsaunders opened this issue Mar 31, 2025 · 1 comment

Comments

@hughsaunders
Copy link

Currently the external resolver is hard coded to 8.8.8.8 (Google public DNS).
https://github.com/fifthsegment/Gatesentry/blob/master/application/dns/server/server.go#L27

Two use cases for this being configurable:

  1. I have a local DNS resolver that I use to access local resources. Gate sentry must forward requests through this resolver or my local resources become inaccessble.
  2. Some users may be unwilling to hand over all their DNS queries to Google.
@fifthsegment
Copy link
Owner

Great suggestion. Would you be interested in creating a PR for this?

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

2 participants