AdguardTeam / AdguardTeam/dnsproxy

Allow pass-through of ECS from client to upstream server

Đang mở
#166 3 bình luận 3 reaction 0 người được giao Xem trên GitHub
feature request
Ngôn ngữ chính
Go
Star
3.3k
Fork
343
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.