Possible to have DNS and ad blocking running on secondary router?

Discussion in 'Tomato Firmware' started by AZImmortal, Dec 2, 2018.

  1. AZImmortal

    AZImmortal New Member Member

    I have two Tomato routers, a main router and a secondary one acting as an access point. The main router unfortunately only has 32k of NVRAM, so I'm unable to run ad blocking on it (it eventually locks up). Is it possible to run ad blocking (and third party DNS, such as OpenDNS) on the access point router and then have the main router point to it for DNS resolution? I can't switch the routers because the access point is newer and is much more centrally located, so I need it there for wireless coverage.
     
  2. cloneman

    cloneman Addicted to LI Member

    Yes, you just specify the 2nd router's ip address as the DNS server for the network. The main router will advertise the 2nd's router's DNS Server in its DHCP assignments.

    However, you might find a cheap single board computer (e.g. rasbperri pi or clones) with a full-fat linux might provide better performance or flexibility to do ad blocking (and less confusion for anyone else having to administer the network)
     
    AZImmortal likes this.
  3. AZImmortal

    AZImmortal New Member Member

    Thanks, I did look into getting a Raspberry Pi and running Pi Hole but I wanted to use the equipment that I already had if possible to save some money and also to avoid having to plug another device into the network (power outlets are in short supply).

    So besides manually specifying the access point router as the main router's DNS server, what do I need to do on the access point router besides enabling ad blocking? How would I set up third party DNS (such as OpenDNS) on the access point? Do I just enable WAN settings and manually specify the third party DNS there? I currently have WAN settings disabled since it's only acting as an access point.
     
  4. Monk E. Boy

    Monk E. Boy Network Guru Member

    You would need to enable the DNS server on the access point w/o enabling DHCP (unless you also want it to also handle DHCP, which might be worthwhile if you want host name resolution to work, since the DHCP server on the primary router won't be able to insert DNS records into the access point's DNS server), then set the access point's DNS servers to use external DNS servers. Get basic DNS working through the access point first and then move onto ad blocking and get whatever solution you want to use going on top.

    You could also use the primary router for DNS resolution instead of directly going to external DNS, assuming you don't completely disable the DNS server on the primary router.

    You don't want to enable WAN. Not unless you want to run a WAN cable to your access point, which it sounds like you don't.

    If you want specific instructions on what settings to change where we'll need to know which firmware you're running, preferably down to the specific firmware files you're using on your routers since not all functions are in all firmware builds (and between different flavors the instructions vary).
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice