AdguardTeam / AdguardTeam/dnsproxy

Feature request: add option for setting X-Real-IP header when using DOH upstream

オープン
#434 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
3.3k
フォーク
343
PR マージ指標
30日以内にマージされた PR はありません

説明

the use case is:

1. external clients connecting to proxy over DOT
2. proxy connects to upstream using DOH, with `X-Real-IP` header
3. the upstream server can respond correctly depending on source address.

without having the address, the upstream i use (technitium-DNS) can't tell where the clients are since all it can see is the proxy address.
it needs to know the source for proper blocking, and only certain clients are allowed to request some DNS zones and recursion.

this is what the technitium instructions say:
> When using a reverse proxy with the DNS-over-HTTP service, you need to add X-Real-IP header to the proxy request with the IP address of the client to allow the DNS server to know the real IP address of the client originating the request.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。