modified: dnss.sh
This commit is contained in:
parent
0b1ce034f0
commit
9b68509d68
6
dnss.sh
6
dnss.sh
|
@ -8,3 +8,9 @@ sudo iptables -t nat -I OUTPUT -p udp --dport 53 -j DNAT --to 127.0.0.1:53
|
|||
sudo iptables -t nat -I OUTPUT -p tcp --dport 53 -j DNAT --to 127.0.0.1:53
|
||||
sudo iptables -t nat -I OUTPUT -p udp --dport 5353 -j DNAT --to 127.0.0.1:53
|
||||
sudo iptables -t nat -I OUTPUT -p tcp --dport 5353 -j DNAT --to 127.0.0.1:53
|
||||
if [ -f /etc/pdnsd.conf ]
|
||||
then
|
||||
echo "hit enter to continue"
|
||||
read
|
||||
sudo systemctl restart pdnsd.service
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue