modified: dnss.sh

modified:   pdnsd.sh
	modified:   pdnsd/pdnsd.conf
This commit is contained in:
Zachariah Gibbens 2023-03-25 04:06:58 +00:00
parent 9184cf0b9d
commit 55fdfe9dbb
3 changed files with 18 additions and 5 deletions

View File

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

View File

@ -5,6 +5,3 @@ sudo sed -i s/START_DAEMON=no/START_DAEMON=yes/g /etc/default/pdnsd
sudo cp /etc/pdnsd.conf /etc/pdnsd.conf.orig
sudo cp ../pdnsd/pdnsd.conf /etc/pdnsd.conf
sudo systemctl restart pdnsd.service
echo "Restarting pdnsd again"
sleep 5
sudo systemctl restart pdnsd.service

View File

@ -27,7 +27,7 @@ server {
ip = 127.0.0.1;
port = 53001;
timeout = 5;
uptest = query;
uptest = none;
interval = 30m; // Test every half hour.
ping_timeout = 300; // 30 seconds.
purge_cache = off;
@ -36,6 +36,21 @@ server {
preset = off;
}
server {
label = "dnscrypt-proxy";
ip = 127.0.0.1;
port = 53002;
timeout = 5;
uptest = none;
interval = 30m; // Test every half hour.
ping_timeout = 300; // 30 seconds.
purge_cache = off;
include = ".glue",".geek";
exclude = .localdomain;
policy = included;
preset = off;
}
source {
owner=localhost;
// serve_aliases=on;