Adblock for specific devices, tutorial to create multiple dnsmasq instances?

  • Set up a network interface adblock as a dummy interface or as a different VLAN.
  • Configure multiple dnsmasq instances for adblock and lan interfaces, note that Adblock service affects the first instance.
  • Enable Adblock service for the instance adblock_dns.
  • Use different DHCP pools for different VLANs, or use firewall rules to selectively intercept and redirect DNS traffic, or provide custom DNS settings via DHCP options based on MAC address or client ID, or just configure filtered DNS statically on the client.
2 Likes