Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/krosf/vercel-ddns
- Owner: KROSF
- License: mit
- Created: 2020-07-12T22:02:49.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-20T22:42:55.000Z (almost 2 years ago)
- Last Synced: 2023-03-04T09:40:22.299Z (over 1 year ago)
- Topics: ddns, dns, vercel
- Language: Rust
- Homepage: https://github.com/KROSF/vercel-ddns
- Size: 132 KB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.0USAGE:
vercel-ddns [OPTIONS] --domain --subdomain --tokenFLAGS:
-h, --help Prints help information
-V, --version Prints version informationOPTIONS:
-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.