modified: dnscrypt-proxy.sh

modified:   dnss.sh
	modified:   pdnsd/pdnsd.conf
This commit is contained in:
Zachariah Gibbens 2023-03-25 04:32:37 +00:00
parent 7a86ce218d
commit 14946387f7
3 changed files with 8 additions and 4 deletions

View File

@ -6,3 +6,9 @@ sudo cp ../dnscrypt-proxy/dnscrypt-proxy.toml /etc/dnscrypt-proxy.toml
sudo systemctl daemon-reload
sudo systemctl restart dnscrypt-proxy.socket
sudo systemctl restart dnscrypt-proxy.service
if [ -f /etc/pdnsd.conf ]
then
sudo pdnsd-ctl server dnscrypt-proxy retest
#sudo systemctl restart pdnsd.service
fi

View File

@ -6,8 +6,6 @@ sudo systemctl restart dnss.service
sudo systemctl restart dnss.socket
if [ -f /etc/pdnsd.conf ]
then
echo "hit enter to continue"
read
sudo pdnsd-ctl server dnss retest
#sudo systemctl restart pdnsd.service
fi

View File

@ -27,7 +27,7 @@ server {
ip = 127.0.0.1;
port = 53001;
timeout = 5;
uptest = none;
uptest = query;
interval = 30m; // Test every half hour.
ping_timeout = 300; // 30 seconds.
purge_cache = off;
@ -41,7 +41,7 @@ server {
ip = 127.0.0.1;
port = 53002;
timeout = 5;
uptest = none;
uptest = query;
interval = 30m; // Test every half hour.
ping_timeout = 300; // 30 seconds.
purge_cache = off;