aarond10 / https_dns_proxy

A lightweight DNS-over-HTTPS proxy.
MIT License
779 stars 114 forks source link

ECS not working #76

Closed gayhub-dev closed 4 years ago

gayhub-dev commented 4 years ago

try -e option with different subnet,but not get localized results

aarond10 commented 4 years ago

This option has been removed from the latest version as it had no effect.

The ECS command-line flag was supported by Google in their JSON API but it was never well supported elsewhere and was necessary there because EDNS could not be expressed via the JSON API. Now that we're using the binary proptocol (RFC8484), you should look to configure that with a recursive DNS resolver.

dnsmasq I believe supports this via the --add-subnet option.