gllera / dynamip

Updates your domains on Route53 DNS to match your public IP

Home Page:https://hub.docker.com/r/gllera/dynamip

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dynamip

Updates your domains on Route53 DNS to match your public IP

Usage

With docker

docker run -it --rm \
   -e AWS_ACCESS_KEY_ID=AAAA123123BBBB31CCCC \
   -e AWS_SECRET_ACCESS_KEY=aaaabbbbssVVVaasv2312w+3fdsdf32fewVdasAA \
   -e ZONEID=AAAAAAABBBBB11 \
   -e RECORDSET='*.exampleA.com exampleA.com exampleB.com' \
   -e TTL=150 \
   gllera/dynamip

Without docker

Requisites:

  • awscli
# Install awscli
pip3 install awscli
# Configure it
aws configure
# Test it
aws sts get-caller-identity
  • Fill the variables on file dynamip as needed:
AWS_HOSTED_ZONE_ID='ZZZZZZZZZZZ'
DNS_RECORDS='XXXXX.XXX *.XXXXXX.XXX YYYYYY.XXX'
DNS_TTL='150'
  • Execute it:
./dynamip
  • btw, is easier if you use it as a service configured as following:
[Unit]
Description=Updates DNS.

[Service]
Type=simple
ExecStart=/sbin/dynamip

[Install]
WantedBy=multi-user.target

About

Updates your domains on Route53 DNS to match your public IP

https://hub.docker.com/r/gllera/dynamip


Languages

Language:Shell 82.5%Language:Dockerfile 17.5%