This python tool pyroute53myip is useful to allow automate updating of a public DNS record hosted at Internet based in the public internet address from home. It is a quite typical scenario running at a domestic raspberry-pi tiny instance
Project description
pyroute53myip
Description
This python tool pyroute53myip is useful to allow automate updating of a public DNS record hosted at Internet based in the public internet address from home. It is a quite typical scenario running at a domestic raspberry-pi tiny instance
Author
Name: redcorjo Email: jordipromotions@gmail.com
Config file structure
The tool self encrypt the AWS credentials initially added on clear. They are encrypted and useable only from the same host they were encrypted. First time the tool is executed, at command line there is a wizard asking for initial values.
Config file can be defined using env variable PYROUTE53MYIP_CONFIG
[aws]
aws_access_key_id = <access_key>
aws_secret_access_key = <secret_key>
[dns]
zoneid = <my_aws_zoneid>
record_set = my.domain.com
public_ip = 1.2.3.4
[scheduler]
frequency = 60
[mqtt]
mqtt_server = 127.0.0.1
mqtt_topic = pyroute53myip
## Usage
python3 -m pip install pyroute53myip
export PYROUTE53MYIP_CONFIG=./pyroute53myip.ini
python3 -m pyroute53myip.pyroute53myip:main
Version: 2023012901
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pyroute53myip-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bba3bd308906a86aed5292a4023055c9ae122ba44518339d6f6ef465d5f230f |
|
MD5 | eb7c4a2ad559b1bb79123bca740f9b74 |
|
BLAKE2b-256 | 51f5520924586f9d409d1ef0819e6fe2fe957ecccc93c31035feecfa4f83c015 |