#!/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