12
submitted 10 months ago* (last edited 10 months ago) by shiftymccool@lemm.ee to c/selfhosted@lemmy.world

Hello all! I think I'm having a bit of trouble with my home network. It appears that all of my devices are using my Pi-hole DNS because I can see them all listed in the UI. But, when I check the devices, I can see both the Pi-hole IP address and the router's. Pi-hole is listed first, so I'm assuming everything is using that, but I don't want the devices on my network to even know about the router DNS. I've heard of aggressive devices like Roku exploiting things like this.

I have an ASUS RT-AX55, so I believe I have full control of any setting I need. Any advice? Is this not even a problem?

EDIT: The latest firmware for the RT-AX55 is 3.0.0.4.386_52041, and, according to this (https://www.asus.com/support/FAQ/1050080/) I need 3.0.0.4.388.22525 to get the setting I need. @princessnorah@lemmy.blahaj.zone's screenshot shows the settings I need but I only have one DNS field. My suspicion was correct that the router was sending itself as DNS2. It's an imperfect solution, but I changed my upstream DNS on my router to point to the Pi-hole for now. It's a bit frustrating to not see the actual device the traffic is coming from instead of "router" but at least ALL of my traffic is now being routed through the correct DNS server.

At this point, it looks like I cross my fingers and try using Pi-hole DHCP again or get a new router.

EDIT2: I found that the RT-AX55 doesn't have the UI to change DNS2, but the property is there if you use SSH. Just log in and run this: nvram set dhcp_dns2_x=<PIHOLE_IP> | nvram commit. Problem solved!

Thanks for the help, y'all!

you are viewing a single comment's thread
view the rest of the comments
[-] princessnorah@lemmy.blahaj.zone 3 points 10 months ago

I’m running the Merlin fork of the Asus firmware, so maybe that adds this option, but in my DHCP settings there’s a switch called:

Advertise router's IP in addition to user-specified DNS

Sidenote: The Merlin version of the firmware is great! It lets you run the Diversion adblocker, which functions in the same way as Pihole. However, the RT-AX55U isn’t supported. The AX58U is though, maybe it might be worth upgrading? It’s a lot simpler than running a Pihole separately.

[-] shiftymccool@lemm.ee 1 points 10 months ago

OK, this seems to be the issue. I have this section but only one field for DNS.

this post was submitted on 19 Dec 2023
12 points (87.5% liked)

Selfhosted

39677 readers
301 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS