Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/krosf/vercel-ddns

Dynamic DNS for Vercel
https://github.com/krosf/vercel-ddns

ddns dns vercel

Last synced: 4 days ago
JSON representation

Dynamic DNS for Vercel

Awesome Lists containing this project

README

        

# vercel-ddns

vercel-ddns is a simple command line tool for creating a DNS record for Vercel's Managed DNS service.

## Usage

### cli

```sh
vercel-ddns 0.1.0

USAGE:
vercel-ddns [OPTIONS] --domain --subdomain --token

FLAGS:
-h, --help Prints help information
-V, --version Prints version information

OPTIONS:
-d, --domain [env: VDDNS_DOMAIN=]
-i, --ip-type [env: VDDNS_IP_TYPE=] [default: ipv4] [possible values: IPV4,
IPV6]
-s, --subdomain [env: VDDNS_SUBDOMAIN=]
-t, --token [env: VERCEL_TOKEN=]
--ttl [env: VDDNS_TTL=] [default: 3600]
```

### docker

```sh
docker run -d \
-e VERCEL_TOKEN= \
-e VDDNS_DOMAIN= \
-e VDDNS_SUBDOMAIN= \
-e VDDNS_TTL=3600 `#optional` \
-e VDDNS_IP_TYPE=ipv4 `#optional` \
-e CRON_SCHEDULE="*/15 * * * *" `#optional` \
krosf/vercel-ddns:cronjob
```

### docker-compose

```yml
version: "3.7"
services:
ddns:
image: krosf/vercel-ddns:cronjob
restart: unless-stopped
environment:
- VERCEL_TOKEN=
- VDDNS_DOMAIN=
- VDDNS_SUBDOMAIN=
- VDDNS_TTL=3600 #optional
- VDDNS_IP_TYPE=ipv4 #optional
- CRON_SCHEDULE="*/15 * * * *" #optional
```

## Related

Check out [lukehsiao/netlify-ddns-rs](https://github.com/lukehsiao/netlify-ddns-rs) for a similar
client for Netlify.