Skip to content

benrad/pydydns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyDyDNS

A simple script to update a Route53 record to point to one's public IP. I use this to keep a Raspberry Pi in my house accessible from the public internet.

I considered creating this as a Lambda+API Gateway function that's hit with a key and client IP, but containing the functionality in one place ended up being simpler.

Setup

  1. You'll need a domain managed by Route53 with a subdomain to keep pointed to your IP.

  2. Create an IAM user and get an access key. IAM user should have AmazonRoute53FullAccess policy.

  3. Add credentials and domain to config file. See sample config. (You can also pip install awscli and run aws configure to have boto3 use your stored credentials.)

  4. Add a cron job to run python dydns.py at whatever interval you'd like.

About

Simple dynamic dns for AWS Route53

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages