Automating router DNS configuration - UPNP?

I was looking for a way how to make router changes more easy for non tech savvy people and if possible also automate the configuration.

I have found an interesting python tool that can help me discover UPNP devices on my network and also the UPNP services they provide. I have also understood that I need theLANHostConfigManagement UPNP service in order to modify DNS and DHCP settings on the router.

Unfortunately neither of my 3 router devices provide this service, and for obvious reasons. I have understood the risks to allow for such devices for an app to change such settings.

But then is there another way how/work around to achieve this convenience?

My goal is to have a Raspberry Pi running a DNS service, and that can be easily installed in a home network. Is there a creative mind that think of and show me of a way to automate DNS configuration on the router without having the user do it himself, while keeping it safe and local?

No.

But why do you want to achieve this? It sounds like you want to sell "easy to install" kits. Do you?
If not, installing Pi-hole is almost as easy as it can be. There is no way you can reconfigure your router without logging into its dashboard and do the required changes. Even worse, there are quite a few routers out there where this in not possible at all.

Thanks for your answer, agreed, tech doesn't seem to allow auto configuration for this.

And yes, since you asked, the idea is to have plug and play for this sort of utilities.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.