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

Selfhosted

40445 readers
313 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 2 years ago
MODERATORS
 

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 :)

top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 11 points 1 year ago (1 children)

I think your best bet would be to buy your own router and then use that one instead of the ISP provided router.

If you want to go more deeper, you can maybe choose one that is supported by OpenWrt. You can use the Table of hardware or the firmware selector to check if your desired router has OpenWrt support.

[–] [email protected] 2 points 1 year ago

Definitely this. If you're absolutely sure you can't change config on the router, then you just treat it like a modem. Let it serve up one, single DHCP lease to your own router and run your network off of that.

[–] [email protected] 5 points 1 year ago

I think you have to change the DNS settings on every client/connection then

[–] [email protected] 2 points 1 year ago (1 children)

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

[–] [email protected] 2 points 1 year ago (2 children)

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.

[–] InEnduringGrowStrong 2 points 1 year ago

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.

[–] [email protected] 0 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.