OpenWrt uses its own Dnsmasq to block websites (set resolution)
#Set example.com domain name a type record to 192.168.0.1 uci add_list dhcp.@ dnsmasq[0].address= "/example.com/192.168.0.1"
#A type resolution of shielding ad.mi.com domain name
# uci add_list dhcp.@ dnsmasq[0].address="/ad.mi.com/"
#Effective configuration (written to/etc/config/dhcp) uci commit dhcp #Restart service service dnsmasq restart
Ref
-
https://openwrt.org/docs/guide-user/base-system/dhcp_configuration#domains The sample provided on OpenWrt.org (other types resolve something)