This is a DDNS (Dynamic DNS) tool to update your domain with your router current IP. The project has two components:
The server is a AWS lambda function created with serverless framework. To deploy it some env variables should be set and then the deploy command should be run:
cd lambda
export HOSTED_ZONE_ID=<YOUR HOSTED ZONE ID>
export RECORD_NAME=<YOUR RECORD NAME: foo.example.com>
serverless deploy --stage pro --env production
WARNING: AWS user has to be logged-in on the system and the user need the required permissions to deploy with serverless framework.
The result of the deploy command will return a URL and an API key that should be saved to configure the client.
The client is a bash script. Additional files are provided to configure systemctl service and timer. The client could be configured in something like a Raspberry PI that is always running.
Follow the next steps to configure the client:
sudo systemctl disable ddns-aws-clientsudo systemctl enable ddns-aws-client.timerIt can be checked that the timer is running with command: sudo systemctl status ddns-aws-client.
Run client executing the following command:
docker run rogelioo/ddns-aws-client:latest -v /tmp/ddns_cache/:/tmp/ddns_cache/ --api-key <API_KEY> --url <URL>
Content type
Image
Digest
Size
4.7 MB
Last updated
almost 6 years ago
docker pull rogelioo/ddns-aws-client