Skip to content
/ ddns Public

👽 DDNS using route53 and AWS Lambda

Notifications You must be signed in to change notification settings

tonio-m/ddns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DDNS

Usage:

# install serverless framework binary
curl -o- -L https://slss.io/install | bash

# change these variables on update_route53.py
# HOSTED_ZONE_NAME = "indigena.xyz"
# RECORD_NAME = "bisnaga.indigena.xyz"
# RECORD_TYPE = "A"
# RECORD_TTL = 300

# deploy the lambda funcion on your aws account
# be sure your aws cli is properly configured before doing this. to do this run `aws configure`
serverless deploy | grep -A1 endpoints: 
# endpoints:
#   GET - https://zf8p10v2yi.execute-api.us-east-1.amazonaws.com/

# send a get request to the endpoint to update the DNS record with your ip!!
curl https://zf8p10v2yi.execute-api.us-east-1.amazonaws.com/

# OR run a background job to update it constantly:
while true
do
    wget -qO- https://zf8p10v2yi.execute-api.us-east-1.amazonaws.com/
    sleep 1h
done

About

👽 DDNS using route53 and AWS Lambda

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages