# route53-ddns [![Build Status](https://travis-ci.org/yuvadm/route53-ddns.svg?branch=master)](https://travis-ci.org/yuvadm/route53-ddns) A simple `{b,d,}ash` script aimed for usage on LEDE/OpenWRT devices which enables sending DDNS updates to Route53. Attempts to reduce the Route53 REST API call dependencies on the minimum amount of additional packages. This script has made it [upstream](https://github.com/openwrt/packages/commit/4f8d2053d8e9012fdcab62707e97ac870cb247d0) and can now be used natively with `ddns-scripts`. ## Requirements - [ca-bundle](https://lede-project.org/packages/pkgdata/ca-bundle) - [curl](https://lede-project.org/packages/pkgdata/curl) - [openssl-util](https://lede-project.org/packages/pkgdata/openssl-util) ## Usage ```bash $ export HOSTED_ZONE_ID=ABCDEFGHIJKL $ export AWS_ACCESS_KEY_ID=AKIAXXXXXXXXXXXX $ export AWS_SECRET_ACCESS_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXX $ export RECORD_NAME=foo.example.com $ export RECORD_VALUE=1.2.3.4 $ ./route53.sh /change/C1R7XXXXXXXXPENDING2017-09-15T14:03:18.167Z ``` ## Test ```bash $ shellcheck -s ash -e SC2169 route53.sh ``` ## License Released under [GPLv2](LICENSE) Copyright (C) 2017 by Yuval Adam