7 lines
134 B
Plaintext
7 lines
134 B
Plaintext
|
|
#!/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
|