21 lines
529 B
Markdown
21 lines
529 B
Markdown
# dns-config
|
|
|
|
This repository contains the code to manage all my DNS records.
|
|
|
|
### Helpful commands
|
|
|
|
```sh
|
|
# `preview`, `push` or `check` changes.
|
|
docker run --rm -it \
|
|
-v "$HOME/app-data/dns-config:/dns" \
|
|
ghcr.io/stackexchange/dnscontrol preview
|
|
# OR:
|
|
nix run . -- version
|
|
nix run . -- preview
|
|
|
|
# Pull in changes from an existing DNS provider
|
|
docker run --rm -it \
|
|
-v "$HOME/app-data/dns-config:/dns" \
|
|
ghcr.io/stackexchange/dnscontrol get-zones \
|
|
--format=js --out=draft.js cloudflare - walr.us.eu.org
|
|
```
|