AdguardTeam / AdguardTeam/dnsproxy

Allow pass-through of ECS from client to upstream server

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

説明

In some cases clients send DNS requests with ECS (e.g. dnsmasq behind dnsproxy can send ECS via `--add-subnet`). But it does not seem to be passed upstream by dnsproxy, or at least I can't get it to work.

Can you please add a config option `--edns-pass-to-upstream`? The logic should probably be: if client supplies it, pass it through. If the client doesn't supply it and `--edns` or `--ends-addr` are enabled, use those.

It can be tested like this:
`dig o-o.myaddr.google.com txt +subnet='1.2.3.0/24' @8.8.8.8` (replace 8.8.8.8 with the address of dnsproxy)

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

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

評価

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

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

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