Problem with connecting via dnscrypt-proxy

On my desktop...
I have a problem connecting via dnscrypt-proxy. Sometimes it happens that I have to wait a long time to establish a connection. This situation occurs sporadically. Usually everything is ok. But I have a situation that after logging in -> is it a ping or is it to enter a website on the Internet. How to tune dnscrypt-proxy2 or pf firewall so that everything works as it should? And the connection was fast?
Code:
/etc/pf.conf

set skip on lo0
block in all
pass out all keep state


Code:
/etc/resolv.conf

nameserver 127.0.0.1

Code:
/etc/rc.conf

dnscrypt_proxy_enable="YES"
dnscrypt_proxy_mac_portacl_enable="YES"


Code:
/usr/local/etc/dnscrypt-proxy/dnscrypt-proxy.toml

###in the configuration as provided by the package creator I only made two small changes

server_names = ['cloudflare', 'yandex', 'google']
listen_addresses = ['127.0.0.1:53']


How to set system/dnscrypt-proxy/pf so that DOH connections are always reliable and fast?
Thanks for advice
]:>
 
Back
Top