i am using dnsmasq to block sites and it is working fine for me. for youtube you can add an entry as "address=/youtube.com/127.0.0.1" and it blocks sub-domains also for youtube.com
i am using dnsmasq to block sites and it is working fine for me. for youtube you can add an entry as "address=/youtube.com/127.0.0.1" and it blocks sub-domains also for youtube.com