1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

Best way of using dnsfilter on merlin for smartDNS and pihole ?

Discussion in 'Asuswrt-Merlin' started by vw-kombi, Feb 22, 2019.

  1. vw-kombi

    vw-kombi Regular Contributor

    Joined:
    Apr 13, 2018
    Messages:
    83
    I use skynet and Fresh QOS (if that has any bearing on this).

    I have just installed 2 new pihole instances - 192.168.1.5 and 192.168.1.6 (secondary dns backup - one on UnRaid docker, on a dedicated rasberry Pi).
    I currently have the router dns set to 9.9.9.9
    I currently have the DHCP DNS set to 192.168.1.5 and 192.168.1.6 (and disabled advertised router ip address)
    This all works, clients have the correct 2 pihols dns only.

    I also have edits in dnsmasq.conf.add for my 6 roku devices to use a smartDNS service.
    I came across the dnsfilter stuff today (not sure how I missed that before).
    Could I delete the edits in the dnsmasq.conf.add, then enable dnsfilter ? After reading the doco, it seems I can enable the filtering, then set global filter mode to router ("Router" will force clients to use the DNS provided by the router's DHCP server), then add 6 entries for the MAC addresses of the roku's, and set then to Custom 1, with custom1 being the dns ip for the smartDNS service.

    Am I going around this the right way ?
     
    Vexira likes this.
  2. martinr

    martinr Very Senior Member

    Joined:
    Nov 27, 2014
    Messages:
    1,587
    Location:
    United Kingdom