initial setup
This commit is contained in:
commit
605cf67169
5 changed files with 23 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
.env
|
6
README.md
Normal file
6
README.md
Normal file
|
@ -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
|
||||||
|
```
|
6
creds.json
Normal file
6
creds.json
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"desec": {
|
||||||
|
"TYPE": "DESEC",
|
||||||
|
"auth-token": "$DESEC_TOKEN"
|
||||||
|
}
|
||||||
|
}
|
5
dnsconfig.js
Normal file
5
dnsconfig.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
var deSEC = NewDnsProvider('desec');
|
||||||
|
var REG_NONE = NewRegistrar("none");
|
||||||
|
|
||||||
|
// import domains
|
||||||
|
require_glob('domains/')
|
5
domains/wolfgirl.systems.js
Normal file
5
domains/wolfgirl.systems.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
D("wolfgirl.systems", REG_NONE
|
||||||
|
, DnsProvider(deSEC)
|
||||||
|
, DefaultTTL(3600)
|
||||||
|
, A("stella", "198.8.59.4")
|
||||||
|
)
|
Loading…
Reference in a new issue