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

edns请求查询 #1852

Open
nicelic opened this issue Nov 4, 2024 · 4 comments
Open

edns请求查询 #1852

nicelic opened this issue Nov 4, 2024 · 4 comments

Comments

@nicelic
Copy link

nicelic commented Nov 4, 2024

smartdns文档支持edns,如 server 8.8.8.8 -proxy beijing -subnet [广东电信IP] 需要制定ip,我部署smartdns在云服务器上,不指定客户端ip时解析得到的ip,去查询ip归属地时都是接近服务器的物理地址。要怎么设置才能 server 223.5.5.5 时就已经启用edns,在请求223.5.5.5时同时也将客户端ip也发送了,多用户多ip,每一个客户端请求都是根据该客户ip来查询。我找不到相关资料和设置。

@qwerttvv
Copy link

qwerttvv commented Nov 5, 2024

编译的时候需要一个参数,我没这个需求,记不清具体怎么写了,你搜搜

另外这个部署国外科学用的服务器开这个参数没意义

@nicelic
Copy link
Author

nicelic commented Nov 6, 2024

编译的时候需要一个参数,我没这个需求,记不清具体怎么写了,你搜搜

另外这个部署国外科学用的服务器开这个参数没意义

国内用,adguardhome个人用感觉遇到瓶颈了

@PikuZheng
Copy link
Contributor

也就是说你希望smartdns向上游查询时自动将客户端ip填写到 edns-subnet。

如果下游查询带了这个edns信息,smartdns是透传的,不需要再指定一次。

@PikuZheng
Copy link
Contributor

编译的时候需要一个参数,我没这个需求,记不清具体怎么写了,你搜搜

你说的是通过edns校验上游服务器以避免虚假应答,是另一件事

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

3 participants