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

How disable edns in doh-server #154

Open
shirakun opened this issue Jan 2, 2024 · 1 comment
Open

How disable edns in doh-server #154

shirakun opened this issue Jan 2, 2024 · 1 comment

Comments

@shirakun
Copy link

shirakun commented Jan 2, 2024

Hi

I created a doh-server
But I want to use the server ip instead of the client ip when requesting the upstream dns
But I noticed that the doh-server seems to pass the client ip to the upstream dns.
How do I disable edns for doh-server?

@m13253
Copy link
Owner

m13253 commented Jan 3, 2024

If you have an Nginx frontend, simply removing X-Forwarded-For and X-Real-IP would be enough.

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