blob: 12106fcc1a069a20e8643c5b8859d700672a83c2 (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/sh
if cli-shell-api exists service dns forwarding; then
echo "Restarting the DNS forwarding service"
systemctl restart pdns-recursor
else
echo "DNS forwarding is not configured"
fi
|