Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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