Skip to content

michaelpeterswa/Route53Updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

r53u

Route53Updater is a Python script that performs Dynamic DNS with Route53

AWS Route 53Boto3 librarycrontab.guru

Made With Love Awesome

Installation

git clone git@github.com:michaelpeterswa/Route53Updater.git
pip3 install -r requirements.txt
python3 update.py

Or download the file manually.

See additional installation steps below.

Runtime

If the previous IP doesn't match:

r53u

If the previous IP does match:

r53u

(Optional Installation Steps)

Ensure update.py (line 16) contains the full path to your config file:

CONFIG = "/home/user/Route53Updater/domains.toml"

Symlink the script:

ln -s /home/user/Route53Updater/update.py /usr/local/bin/r53u
chmod +x /usr/local/bin/r53u

Edit Crontab:

crontab -e

To run every 5 minutes append this line:

*/5 * * * * usr/local/bin/r53u > /home/user/r53u.log 2>&1

Release History

1.0.0 (11.16.20)

Meta

Michael Peters - michael@michaelpeterswa.com

License

MIT, see LICENSE