commit 605cf671694eb2c505b35f35b88085c887261ea8 Author: Haylin Moore Date: Thu Sep 26 11:48:06 2024 -0400 initial setup 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