7 lines
134 B
Bash
7 lines
134 B
Bash
#!/bin/bash
|
|
|
|
echo "DOMAIN TO BLOCK:"
|
|
read d
|
|
echo "address=/$d/0.0.0.0" | sudo tee -a /etc/dnsmasq.conf
|
|
sudo systemctl restart dnsmasq
|