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

Option for exclude servers #735

Closed
sataevr opened this issue Feb 21, 2019 · 7 comments
Closed

Option for exclude servers #735

sataevr opened this issue Feb 21, 2019 · 7 comments

Comments

@sataevr
Copy link

sataevr commented Feb 21, 2019

At that time there is no option for exclude only some untrusted servers like Google or Yandex and leave all others and i need add all of it to "server_names =" section manually.

@Mikaela
Copy link

Mikaela commented Feb 21, 2019

If server_names is empty and you set require options to true, Google and Yandex get excluded for me, but I would also like an option to exclude specific servers.

https://github.com/jedisct1/dnscrypt-proxy/blob/c52b3ef1242bd093c58ebb8f69292bee1dc1db7d/dnscrypt-proxy/example-dnscrypt-proxy.toml#L67-L76

For example there are some people vocally against Cloudflare, which with I am personally fine with, but everyone using Cloudflare results into centralization which can be undesirable especially with dnscrypt-proxy's ability to pick the fastest servers anywhere, I have only seen Cloudflare not being the fastest on three VPSes which may be sharing datacenter with soem public-resolvers.

I think Opennic also recommended not using (their own) anycast servers due to centralization, but it has been a long time since I read their documentation.

@ghost
Copy link

ghost commented Feb 23, 2019

@Yinchie
Copy link

Yinchie commented Feb 23, 2019

Why option to exclude? Isn't it easier just to pick and choose the servers you wish to use?

1 similar comment
@Yinchie
Copy link

Yinchie commented Feb 23, 2019

Why option to exclude? Isn't it easier just to pick and choose the servers you wish to use?

@sataevr
Copy link
Author

sataevr commented Feb 23, 2019

Isn't it easier just to pick and choose the servers you wish to use?

I want all of them. Except couple of untrusted servers. And with load balancing and filter options i don't need to choose it manually, proxy just do it's job.

@Mikaela
Copy link

Mikaela commented Feb 23, 2019

Why option to exclude? Isn't it easier just to pick and choose the servers you wish to use?

When you have empty server_names, dnscrypt-proxy will automatically attempt to pick the closest servers which can change a lot especially with mobile nodes and there is probably nothing to prevent new public resolvers from appearing close.

@Yinchie
Copy link

Yinchie commented Feb 23, 2019

It doesn't matter if you are mobile. DNSCrypt proxy doesn't continuously check if another one is faster.
Also there isn't much difference if you make your own custom list which ones you prefer to use, this way it saves DNSCrypt checking hundreds of servers for which one is fastest. Another reason would be that some servers aren't as secure or using upstream dns servers you do not wish to use likr cloudflare that someone mentioned before.

I am sure you don't want to check out every single server about whether or not they can be trusted.

@Mikaela
Copy link

Mikaela commented Feb 23, 2019

I should probably clarify that by mobile I mainly meant laptops that may today be in country A and tomorrow travel to country E far away where the hardcoded list for country A may be slower.

At the moment I am seeing 38 servers with my filter_options and checking them seems to only take a few seconds.

I don't think it's very likely for malicious resolver getting added to the public resolvers list and being one of the top two servers for a long period without anyone noticing.

@DNSCrypt DNSCrypt locked and limited conversation to collaborators Mar 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants