From 605cf671694eb2c505b35f35b88085c887261ea8 Mon Sep 17 00:00:00 2001 From: Haylin Moore Date: Thu, 26 Sep 2024 11:48:06 -0400 Subject: [PATCH] initial setup --- .gitignore | 1 + README.md | 6 ++++++ creds.json | 6 ++++++ dnsconfig.js | 5 +++++ domains/wolfgirl.systems.js | 5 +++++ 5 files changed, 23 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 creds.json create mode 100644 dnsconfig.js create mode 100644 domains/wolfgirl.systems.js diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2eea525 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.env \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..b25662e --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +# dns +### Manually run +get .env file from `haylin` and place it in the root of the project +```bash +docker run --rm -it -v "$(pwd):/dns" --env-file .env ghcr.io/stackexchange/dnscontrol push +``` \ No newline at end of file diff --git a/creds.json b/creds.json new file mode 100644 index 0000000..cd8bcda --- /dev/null +++ b/creds.json @@ -0,0 +1,6 @@ +{ + "desec": { + "TYPE": "DESEC", + "auth-token": "$DESEC_TOKEN" + } + } \ No newline at end of file diff --git a/dnsconfig.js b/dnsconfig.js new file mode 100644 index 0000000..fd332d1 --- /dev/null +++ b/dnsconfig.js @@ -0,0 +1,5 @@ +var deSEC = NewDnsProvider('desec'); +var REG_NONE = NewRegistrar("none"); + +// import domains +require_glob('domains/') \ No newline at end of file diff --git a/domains/wolfgirl.systems.js b/domains/wolfgirl.systems.js new file mode 100644 index 0000000..cfea4be --- /dev/null +++ b/domains/wolfgirl.systems.js @@ -0,0 +1,5 @@ +D("wolfgirl.systems", REG_NONE + , DnsProvider(deSEC) + , DefaultTTL(3600) + , A("stella", "198.8.59.4") +) \ No newline at end of file