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

Python 3 and APIv5 rewrite (Live DNS) #18

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ORelio
Copy link

@ORelio ORelio commented Jul 13, 2021

Hello,

Since I've accidentally migrated my domain to APIv5, I've rewritten the script to work with Python 3 and the newer API v5 instead of API v4. Public IP is retrieved through icanhaz.

Fork is available at: https://github.com/ORelio/gandi-dyndns-v5

This pull request also includes changes from my previous PR that implements icanhaz and fixes a small bug that prevents record update in IPv4+IPv6 mode when only one IP address has changed : #17

ORelio and others added 5 commits January 30, 2018 23:20
Ipv6 was not working anymore
Also updated ipv4 for consistency
When using both IPv4 and IPv6, we want the record to be updated
if *at least* one IP changed (v4 or v6, not necessarily both).
This commit changes the check_if_ip_changed logic accordingly.
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

Successfully merging this pull request may close these issues.

1 participant