modified: dnss.sh

This commit is contained in:
Zachariah Gibbens 2023-03-25 03:27:52 +00:00
parent 0b1ce034f0
commit 9b68509d68
1 changed files with 6 additions and 0 deletions

View File

@ -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