First time posting here, so please lmk if I should format this question differently or ask for this kind of help somewhere else.

What I’m trying to do: Have two WAPs that each have their own DNS servers. One of the DNS servers is a Pi-hole, and the other one being the regular dns server provided by my ISP.

Why I’m trying to do this: Been messing around with homelab stuff for a while and been having fun with it, and this is my next mini project. I have a crummy roku TV that I want to connect to a Pi-hole, problem is that I cant adjust the DNS settings on the TV, I can only select the network it can connect to. But I don’t want to change the primary DNS on my network. I have been messing around with this setup trying to get it to work for a couple days and its been a tough one. I’ve tried multiple different setups and nothing has really worked. I’ll probably type out what I’ve tried in the comments.

What I have to work with: I have a Netgear Wifi router connected to the internet from my Modem to my WAN port and I have a second Asus Wifi router that I planned on using for the second network which would have its default DNS server be the Pi-hole.

Also please correct me if I’m using terms/concepts wrong because part of the wider goal of my homelab is to have a better conceptual understanding of networking, so I want to make sure what I’m saying is correct.

  • ISolox@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    3 months ago

    Based on the hardware you have, if you’re able to install it on one of the routers, I know that OpenWRT can set DNS on a per device basis with it’s DHCP server.

    My personal suggestion is to use a PFSense device as there is an option for per device DNS settings, along with a lot of other options that you might want to mess with if your trying to learn some networking

  • kindenough@kbin.social
    link
    fedilink
    arrow-up
    3
    ·
    3 months ago

    Is there any reason you want to have two DNS servers? I would just disable the dhcp in the ISP router and let the pihole do the dhcp serving. This way your network is ad free as it get’s the pihole DNS by default. You then could set any device to the ISP router DNS manually. Just saves a lot of hassle, space, electricity and headaches when something goes wrong.

  • piefedderatedd@piefed.social
    link
    fedilink
    arrow-up
    2
    ·
    3 months ago

    Am I overlooking something ? Configure your TV to get IP address and DNS settings via DHCP from your pi-hole WiFi access point. If you are worried about a DHCP conflict, just make sure that the IP range that both DHCP servers hand out have a different range, and check whether your devices always got the same IP address before, and adjust the ranges accordingly.