Blocking malicious or distracting website domains across all devices connected to a home Wi-Fi network is executed via router domain filter rules or local DNS sinkholes.

DNS Sinkhole (Pi-hole) Block Command

Pi-hole CLI Commandbash
# Add domain to local Pi-hole DNS blocklist
pihole -b badsite.com www.badsite.com