miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can I change router DNS settings with miniupnp?

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Compilation/Installation
View previous topic :: View next topic  
Author Message
xiki



Joined: 30 Jul 2021
Posts: 2

PostPosted: Fri Jul 30, 2021 4:48 pm    Post subject: Can I change router DNS settings with miniupnp? Reply with quote

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
View user's profile Send private message
xiki



Joined: 30 Jul 2021
Posts: 2

PostPosted: Tue Aug 03, 2021 6:13 am    Post subject: Reply with quote

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
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1535

PostPosted: Wed Aug 11, 2021 11:20 am    Post subject: Reply with quote

it looks like https://github.com/Orange-OpenSource/igd2-for-linux has a working implementation of LANHostConfigManagement.
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Compilation/Installation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.