Git Product home page Git Product logo

route53-ddns's Introduction

route53-ddns

Build Status

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 and can now be used natively with ddns-scripts.

Requirements

Usage

$ 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
<?xml version="1.0"?>
<ChangeResourceRecordSetsResponse xmlns="https://route53.amazonaws.com/doc/2013-04-01/"><ChangeInfo><Id>/change/C1R7XXXXXXXX</Id><Status>PENDING</Status><SubmittedAt>2017-09-15T14:03:18.167Z</SubmittedAt></ChangeInfo></ChangeResourceRecordSetsResponse>

Test

$ shellcheck -s ash -e SC2169 route53.sh

License

Released under GPLv2

Copyright (C) 2017 by Yuval Adam

route53-ddns's People

Contributors

yuvadm avatar

Stargazers

Andrew Odri avatar Cory Gross avatar  avatar trulyliu avatar

Watchers

trulyliu avatar  avatar

Forkers

trulyliu waldman

route53-ddns's Issues

Reduce dependency size

It might be possible to further reduce dependency size by using leaner alternatives to the current packages. Current dependencies are:

Dependency Package Size Behavior Possible Alternatives
curl 39068 HTTP(S) client
openssl-util 198664 sha256 hash + HMAC sha256sum for hashing, HMAC?
libopenssl 728773 required by openssl-util
ca-bundle 149689 SSL cert verification single AWS endpoint well-known cert/CA

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.