-
-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Forced Update Improvement #15
Comments
Any ideas which random IP should be generated? |
Is that a trick question? =P If I told you WHICH IP, it wouldn't be random. Seriously though, the random IP doesn't matter because it should be IMMEDIATELY changed to the actual IP after. The only purpose is to trick the DDNS server into thinking the IP changed when in fact, it didn't. Does this make sense? Cheers On May 17, 2012, at 1:03 AM, Timur Birshreply@reply.github.com wrote:
|
Hi, Thursday 17 May 2012 20:18, Cameron Boulton:
Sorry, my English is not very well.
I guess. Timur |
Interesting idea! We've had a few issues with customers not getting their records updated properly. This workaround could actually prove useful. |
Glad to hear. I recommend only performing this on a FORCED event, not every usual check for an IP change. DDNS providers could start banning users who abuse this feature. Another reason a "random" IP is important compared to 0.0.0.0 On May 20, 2012, at 3:13 PM, Joachim Nilssonreply@reply.github.com wrote:
|
I shall see what I can do, but it is likely I will not have time to work on this until the fall. As usual, patches are most welcome! :) |
This issue has been stuck a bit too long for my comfort. I've both been out of time and also out of clue on the random IP# as well as unclear on what DDNS service providers would appreciate a client that accesses too fast. What about this?
|
This commit implements support for -z, --fake-address which is only used on SIGUSR1, forced update. When --fake-address is given and the user sends SIGUSR1 inadyn will send a DDNS server update for all records using the "random" address 203.0.113.42, it then waits a second before sending another update for all records using real address. Needless to say, this is entirely out of spec, but could be useful for some users who always get the same lease and would then be deregistered by their DDNS provider. See issue #15 on GitHub for more details. #15 Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
I'd love to see the Forced Update event set the IP to a random value and immediately set again to actual value. This circumvents silly free DDNS providers who do not consider an update with an unchanged IP address to actual be an update. Simply put, DDNS providers who expire free hosts addresses after an inactivity threshold punish users who's address remain constant for long periods of time and reward those who's change frequently.
The text was updated successfully, but these errors were encountered: