View previous topic :: View next topic |
Author |
Message |
xiki
Joined: 30 Jul 2021 Posts: 2
|
Posted: Fri Jul 30, 2021 4:48 pm Post subject: Can I change router DNS settings with miniupnp? |
|
|
Hello! I'm very new here and with this tool. I bumped into this from ( oh cannot paste links due to being first post ), and I'm happy this tool can give me access to the router and let me automate port forwarding on it.
I was wondering if it can allow me to disable DHCP on the router too or change DNS settings.
My goal is to have a script that installs Adguard Home and configures my router according altogether.
Thank you! |
|
Back to top |
|
|
xiki
Joined: 30 Jul 2021 Posts: 2
|
Posted: Tue Aug 03, 2021 6:13 am Post subject: |
|
|
I have found this python tool that allows me to discover devices on my network and check for the UPNP services/actions provided by that device.
https://upnpy.readthedocs.io/en/latest/
I also found that I would need the LANHostConfigManagement service template in order to be able to communicate with the device to make changes to DNS and DHCP.
http://upnp.org/specs/gw/UPnP-gw-LANHostConfigManagement-v1-Service.pdf
Unfortunately neither of my 3 devices offer this service, and it makes sense. I have understood the risks to allow for such devices for an app to change the DNS settings.
But then are we blocked by technology from offering the dump user a product that can enhance their DNS experience but without them having to fidget around in the router settings?
My goal is to have a Raspberry Pi running PiHole or AdGuard Home (DNS) and that can be easily installed in a home network. Is there a creative mind that can show me a work around to an automated DNS configuration without having the user do it himself, while keeping it safe and local. |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1593
|
|
Back to top |
|
|
|