dns-config/README.md

22 lines
529 B
Markdown
Raw Normal View History

2023-12-27 20:30:54 -08:00
# 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
2024-06-13 21:40:42 -07:00
# OR:
nix run . -- version
nix run . -- preview
2023-12-27 20:30:54 -08:00
# 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
```