===============
Dynamic DNS implementation, that relies on DNSimple.com
This is a simple script that updates (and creates, if needed) an ``A`` domain record for any
``DNSimple.com`` managed domain. It is designed to be run as a hook script right after the
WAN connection.
Usage
-----
```
usage: dnsimple-dyndns [-h] [-v] [-t TTL] [-i IP]
DOMAIN DOMAIN-TOKEN RECORD-NAME
Dynamic DNS implementation, that relies on DNSimple.com.
positional arguments:
DOMAIN domain controlled by DNSimple.com
DOMAIN-TOKEN DNSimple.com domain API key.
RECORD-NAME name of the record to be updated.
optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-t TTL, --ttl TTL DNS record TTL, defaults to 60
-i IP, --ip IP IP address, defaults to current external address from
http://icanhazip.com/
```
Running on Gentoo with OpenRC
-----------------------------
To run this script on Gentoo with OpenRC, you should emerge the ``dnsimple-dyndns`` package:
```
# emerge -av dnsimple-dyndns
```
Then add the following function to your ``/etc/conf.d/net`` file (or edit your postup function,
if already exists):
```bash
postup() {
if [[ "${IFACE}" = "enp3s0" ]]; then
einfo "Updated DNS record: $(dnsimple-dyndns example.com your-domain-token home)"
else
einfo "Ignoring interface: ${IFACE}"
fi
}
```
Replace ``enp3s0`` with your WAN interface, ``example.com`` with your DNSimple.com managed domain,
``your-domain-token`` with your DNSimple.com domain token
(see http://developer.dnsimple.com/authentication/#dnsimple-domain-token) and ``home`` with your
desired DNS record name.
Metadata
Release files for dnsimple-dyndns 0.1
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 |
|---|---|---|---|---|
| dnsimple-dyndns-0.1.tar.gz | 4.5 kB | Without provenance | Details for dnsimple-dyndns-0.1.tar.gz |
Release files / dnsimple-dyndns-0.1.tar.gz
| Download URL | dnsimple-dyndns-0.1.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5290db4354f3f015e78d7d689f5c7fe876bb9f073f9a765ed3adc67aae8243d9
|
|
BLAKE2b-256 checksum How to use checksums |
143ad2f2f6011e4f9f6c1bbe604ea39cb9bfdb7e3c615fbeb652750d00944e13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for dnsimple-dyndns 0.1
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.