Dyn53
A tool for updating route53 addresses, simulating a dynamic DNS service by asking ipify.org and using boto3, it is meant to run via crontab on python3 enabled devices. It uses, dnspython, certifi, requests, and boto3.
Dyn53 is tested against python versions 3.3, 3.4 and 3.5.
Install
pip3 install dyn53
Alternatively, download the package, decompress and run:
python setup.py install
Usage
Configure dyn53 by editing ~/.config/dyn53.conf, if the file is not present, a sample one will be created. Boto3 config is not required, nor used.
> dyn53
2016-07-25 14:22:58,212 - dyn53 - INFO - Creating sample config file: /home/user/.config/dyn53.conf.sample
No config file found, exiting.
> cat ~/.config/dyn53.conf.sample
[dyn53]
hosted_zone_id = My hosted Zone Id
domain = domain.tld.
ttl = 300
debug = False
aws_sec_key = MY SECRET KEY
aws_key = MY KEY
> mv ~/.config/dyn53.conf.sample ~/.config/dyn53.conf
> vi ~/.config/dyn53.conf
> dyn53 -s myhost --debug
2016-07-26 00:42:31,646 - dyn53 - DEBUG - Got ip: 52.37.72.89
2016-07-26 00:42:31,707 - dyn53 - DEBUG - FQDN is already pointing at 52.37.72.89
Notes
If no address is passed as argument ([-a address]), ipify.org service will be checked via https to resolve the current public IP address.
dyn53 is lazy, if the domain is already pointing to the resolved or given address, it wont update the record.
Metadata
Release files for dyn53 0.0.2
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 |
|---|---|---|---|---|
| dyn53-0.0.2.tar.gz | 4.6 kB | Without provenance | Details for dyn53-0.0.2.tar.gz |
Release files / dyn53-0.0.2.tar.gz
| Download URL | dyn53-0.0.2.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6cca19006d719892089bd320796a5f92b0f2b599a3a20943fc54c7c4354556a8
|
|
BLAKE2b-256 checksum How to use checksums |
bcf6b61f6d0c386ee3db95388ff161571512f1118fb0551cd56a5e765aae6ab6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for dyn53 0.0.2
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.