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

Selfhosted

40728 readers
512 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 :)

all 8 comments
sorted by: hot top controversial new old
[–] smokedclover 5 points 2 years ago

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

[–] Mickpyro 3 points 2 years ago (1 children)

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

[–] vegetaaaaaaa 1 points 2 years 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.

[–] [email protected] 2 points 2 years 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.

[–] Mickpyro 0 points 2 years 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.

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

Pihole + bind for lookups. Doesn't matter what your ISP provided device uses if you are overriding it. That, and use DNS over TLS/HTTPS and you should be good.

Pihole + Bind

Setting up a router behind your ISP equipment might end up breaking stuff due to double NAT, but may still work for you if you are just surfing the web. At least you can control your ACLs.