[Q] Router DNS question

Shiimiish@lem.ainyataovi.net to Selfhosted@lemmy.world – 11 points –

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

7

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.

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.

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