Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eddiezane/dodyndns
Updates a DigitalOcean domain record with your public IP
https://github.com/eddiezane/dodyndns
Last synced: about 1 month ago
JSON representation
Updates a DigitalOcean domain record with your public IP
- Host: GitHub
- URL: https://github.com/eddiezane/dodyndns
- Owner: eddiezane
- License: mit
- Created: 2020-02-02T00:10:21.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-16T01:10:53.000Z (over 3 years ago)
- Last Synced: 2024-10-14T11:47:29.714Z (2 months ago)
- Language: Go
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dodyndns
Updates a DigitalOcean domain record with your public IP
# Usage
```
dodyndns --domain example.com --record home --token $DIGITALOCEAN_TOKEN
```| Flag | Description |
| --- | --- |
| domain | The name of the domain on your DigitalOcean account |
| record | The record name to update |
| token | Your DigitalOcean API token |I run this from a K3s cluster of Raspberry Pi 4's.
To build it into an image I use Docker Buildx.
```
docker buildx create --name dodyndns --use
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 -t eddiezane/dodyndns:latest --push .
```See [job.yml](job.yml) for an example manifest.
Create a Kubernetes secret with:
```
kubectl create secret generic dodyndns --from-literal=token=YOUR_TOKEN
```# License
MIT