Use Gandi LiveDNS API to update DNS records with a dynamic IP.
Replaced the deprecated API Key by a Personal Access Token (PAT).
The PAT can be generated via https://account.gandi.net/en/users/
More information at :
Full Changelog: https://github.com/Danamir/dyn-gandi/compare/v1.0.5...v1.0.6
Allow the update of PTR record for a domain if a @
entry is found.
update_ptr
(default false
) in config.ini
to enable/disable PTR updates.--force
to the CLI to force the DNS update even if the IP address is unchanged.Using the tldextract
package to support more second-level domains when detecting subdomain part.
Updated the LiveDNS API URL and authorization method to reflect the merge to the REST API from gandi.
Cf. the note on the old documentation :
There will be no future developments on this API, as we are merging to our new REST api endpoint, which is documented at https://api.gandi.net/docs/livedns/
Added a special case for .co.uk
domains before sub-domain handle.
Automatically remove the subdomain part of the domain configuration if needed, as LiveDNS API does not support a subdomain presence in their requests.
First official release, with a correct installation procedure. The virtual environment one is preferred.