18
[Q] Router DNS question (lem.ainyataovi.net)

Hi, I'm trying to figure out how to set up a service like pi-hole and one of the prerequisits seems to be to have admin access to the router to make the correct DNS entries.

Unfortunately, the router provided by my ISP doesn't grant me access to these settings - is there a way around that, and what would it involve? I do have a hybdrid router (DSL + LTE connection), that's (according to my ISP) the reason DNS settings are locked.

Any ideas are welcome :)

you are viewing a single comment's thread
view the rest of the comments
[-] Mickpyro@lemmy.world 2 points 1 year ago

Can't we setup dns adresses in dhcpd? Yes we can! https://manpages.org/dhcpd/8 (After BOOTP support)

[-] vegetaaaaaaa@lemmy.world 2 points 1 year ago

If OP's router is so basic that they can't change DNS server addresses, there are chances they can't disable the builtin dhcp server either. 2 DHCP servers on the same network will not end well.

I think the only way is to manually set DNS servers on each client.

FWIW, my ISP router didn't allow custom DNS, but it allows disabling DHCP altogether.
I just run DHCP in pihole too, which works fine.

[-] Mickpyro@lemmy.world 1 points 1 year ago

If you read the link, you will understand that you can decide for every network interface a personnalize DNS. Not simply a DNS to the whole network, or by machine. Also, 99.99% sure that any modem router box combo can disable the DHCP and act as a bridge.

Note: the question I wrote was a guenuine one, and not sarcasm.

this post was submitted on 03 Jul 2023
18 points (100.0% liked)

Selfhosted

40247 readers
692 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