Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyroute53myip-0.0.2.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyroute53myip-0.0.2-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file pyroute53myip-0.0.2.tar.gz.

File metadata

  • Download URL: pyroute53myip-0.0.2.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.5

File hashes

Hashes for pyroute53myip-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4750c0e5ed861621be6b0dc1fe4d4f9a2a23ad588e76d9c30d936b0da53f3365
MD5 93be01e60e0e29634314fc58b0e41a27
BLAKE2b-256 11f6e1f61ae5d7d25cac9f588003b813062dad4565167b604b33ecf2336f0174

See more details on using hashes here.

File details

Details for the file pyroute53myip-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pyroute53myip-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.5

File hashes

Hashes for pyroute53myip-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9bba3bd308906a86aed5292a4023055c9ae122ba44518339d6f6ef465d5f230f
MD5 eb7c4a2ad559b1bb79123bca740f9b74
BLAKE2b-256 51f5520924586f9d409d1ef0819e6fe2fe957ecccc93c31035feecfa4f83c015

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page