Gandyndns
What is Gandyndns?
Gandidyndns is a dynamic IP updater based on Gandi LiveAPI. It can handle IPv4 and IPv6 although care should taken for IPv6 if you use dynamic/temporary addresses.
How does it work?
Well, read the code, it's pretty simple :] In short, it does the following for each domain that has to be updated:
- Retrieve current address(es) from http://whatip.me For each type of each record of each domain from the configuration:
- Retrieve current record from gandi
- If both records match, current record is up to date!
- If not, we upgrade gandi with current record informations Done.
How to install it?
python3 setup.py install
If you do not plan to share it among different users, you can (and maybe should) install it in your own user site-package directory with:
python3 setup.py install --user
You can also install it in a virtualenv.
How to use it?
Configuration file is written in json format.
Basic configuration
{
"domains": {
"example.com": {
"apikey": "d41d8cd98f00b204e9800998ecf8427e",
"records" : {
"test": {
"A": {
"rrset_values":["{remote_addr}"]
}
}
}
}
}
}
You can either have different config files or have multiple domains in the same config file, as you wish.
Basic usage
$ gandyndns /path/to/gandyndns.conf
Gandyndns does not need any priviledge besides internet access to run, so avoid running it as root.
Cheers
Metadata
Release files for Gandyndns 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Gandyndns-0.4.tar.gz | 4.0 kB | Without provenance | Details for Gandyndns-0.4.tar.gz |
Release files / Gandyndns-0.4.tar.gz
| Download URL | Gandyndns-0.4.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f44644a9e250e1c2bb3df319abc4c392f85334d56370d92c8bc9b3f9972a0ba1
|
|
BLAKE2b-256 checksum How to use checksums |
16e7a54f460993a980889caf111cb1392a57d7a489e163af2e78a13ac02409f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.9
|
Security for Gandyndns 0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.