ddclient / ddclient

Ddclient updates dynamic DNS entries for accounts on a wide range of dynamic DNS services.

Home Page:https://ddclient.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

possible feature request: multiple web=somebody providers either as confirmation or as fallback?

ljwobker opened this issue · comments

totally possible this is already done (I couldn't figure out how) or maybe already in the plan (though wasn't mentioned in any issues I could find or in the architecture rework discussion...)

is there value in having multiple targets for the web= config directive? I could see at least two use cases:

First, you don't want to be totally dependent on one service to tell you what your IP address is. If it's down or goes away or decides it doesn't like you... the rest doesn't work.

Second, you want to do some kind of sanity checking on the answer you get. Maybe you want to be extra sure that the answer you get is correct, or maybe you want to do something super fancy where you ask three services and as long as two of them give you the same address you use it... or whatever.

Any more high-level checking/majority voting would be best done using cmdv4/cmdv6 and a separate script.

The verifying aspect was already thought of in form of a possible hook to verify IPs (See "Add hook scripts to various stages of the update process" here). I had my own setup once break because my IP web query suddenly returned a 10.0.0.0/8 IP - definitely not my public IP 😉