leamas / ddupdate

Update DNS Data for Dynamic IP Addresses
MIT License
40 stars 28 forks source link

Add a plugin for dy.fi #17

Closed tpikonen closed 5 years ago

tpikonen commented 5 years ago

This plugin adds support for dy.fi, which allows updating IP addresses determined to be located in Finland. It's a straightforward copy from dnsdynamic_org.py, just changing the server URL and docs.

A potential complication is that dy.fi recommends updating only every ~5 days, or when the IP address has changed. I'm not sure if caching in ddupdate will prevent the default ddupdate.timer with 1h interval from calling the server more often than is allowed.

tpikonen commented 5 years ago

Ah, obviously I need to set _ip_cache_ttl to an appropriate value. I've updated the PR.

leamas commented 5 years ago

thanks for this PR, looks fine. Merging.