Files
baremetal-basics/bldo
2026-04-14 21:50:30 +00:00

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