modified: dnss.sh
modified: pdnsd.sh modified: pdnsd/pdnsd.conf
This commit is contained in:
parent
9184cf0b9d
commit
55fdfe9dbb
3
dnss.sh
3
dnss.sh
|
@ -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
|
||||
|
|
3
pdnsd.sh
3
pdnsd.sh
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue