Skip to content

Basic example

In this section we quickly go over a basic way to run ddns-route53.

Setup

Warning

Make sure to follow the instructions to install from binary before.

First create a ddns-route53.yml configuration file like this one:

# ./ddns-route53.yml
credentials:
  accessKeyID: "ABCDEFGHIJKLMNO123456"
  secretAccessKey: "abcdefgh123456IJKLMN+OPQRS7890+ABCDEFGH"

route53:
  hostedZoneID: "ABCEEFG123456789"
  recordsSet:
    - name: "ddns.example.com."
      type: "A"
      ttl: 300

That's it. Now you can launch ddns-route53 with the following command:

ddns-route53 --config ./ddns-route53.yml --schedule "*/30 * * * *"

Last update: 2021-04-25 02:40:05
Created: 2020-07-22 09:34:17