one.com-ddns-python-script icon indicating copy to clipboard operation
one.com-ddns-python-script copied to clipboard

Support for multiple interfaces

Open StarWing01 opened this issue 2 years ago • 1 comments

I have a virtual ubuntu which has 2 ethernet interfaces. 1 connected to my lan and 1 connected to the wan (bridge), with a wan ip. For some reason the script always chooses the lan interface to check the external IP, which is wrong. I tried to change the metrics on the adapters, but this has nu influence on the behavior of the script.

Is there a way to force an update on a specific interface ?

StarWing01 avatar Nov 30 '23 13:11 StarWing01

I have a fork of my own which you can use to fix this problem of yours. It lets you set your own ip resolver in config. See if this helps: https://github.com/nilscript/one-solution

nilscript avatar May 11 '24 13:05 nilscript