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

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

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.

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.

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

varaki
link
fedilink
121Y

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.

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.

Create a post

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!

  • 1 user online
  • 191 users / day
  • 419 users / week
  • 1.14K users / month
  • 3.85K users / 6 months
  • 1 subscriber
  • 3.71K Posts
  • 74.6K Comments
  • Modlog