Skip to content
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

Serial update triggered even if the addresses are not changed #10

Closed
dbenoy opened this issue Sep 24, 2020 · 1 comment
Closed

Serial update triggered even if the addresses are not changed #10

dbenoy opened this issue Sep 24, 2020 · 1 comment

Comments

@dbenoy
Copy link

dbenoy commented Sep 24, 2020

If you update a host to the IP which is already set, no actual changes will happen to the records, but it'll still cause the SOA-EDIT (if configured in PowerDNS) to trigger, and it updates the serial needlessly.

I suppose this is a minor gripe, but if you just send regular updates via cron jobs, 99% of them will be the IP that the host already has, and depending on the number of hosts being updated, this has the potential to increment your serial number a lot. If you set SOA-EDIT-API to the YYYYMMDD01 format, then it could easily cause so many updates that you use up that 'one hundred per day' on the end there and it'll start overflowing into the next day.

I wonder if we could have dyndns-pdns check to make sure it's actually making a change before trying to push an update to the record(s).

@dbenoy
Copy link
Author

dbenoy commented Sep 24, 2020

Oops, my bad. This one has already been reported. #3

@dbenoy dbenoy closed this as completed Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant