Skip to content

dixon629/ddns53

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Usage

  • Add script below as user-data when create AWS EC2 instance
#!/bin/bash

#----------------------------------------
# Create config file for ddns53
#----------------------------------------
mkdir /etc/ddns53

cat <<EOF > /etc/ddns53/ddns53.conf
HOSTNAME=<instance host name>
DOMAIN=<instance domain>
AWS_ACCESS_KEY_ID=<aws access key id>
AWS_SECRET_ACCESS_KEY=<aws secret access key>

NEW_TTL=300
IP_CHECK_URL="http://169.254.169.254/latest/meta-data/public-hostname"
DNS_SERVER=8.8.8.8
EOF
  • Install ddns53
curl -sSL https://github.com/hydra1983/ddns53/raw/master/install.sh | sudo bash

About

Setup DDNS based on Route 53

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%