add readme

This commit is contained in:
maybetree
2025-08-14 20:36:12 +02:00
parent a7704d82a1
commit 63896e98df
2 changed files with 24 additions and 0 deletions

8
README.md Normal file
View File

@ -0,0 +1,8 @@
# klankdns
Dynamic dns for klank.school
- copy `klankdns.example.toml` to `klankdns.secret.toml` and edit key/secret
- this is already in `/usr/local/bin` as `dynamic-dns`
- riviera's old script is in `dynamic-dns.riviera`

16
klankdns.example.toml Normal file
View File

@ -0,0 +1,16 @@
[klankdns]
key = "pk1_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
secret = "sk1_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
base = "https://api.porkbun.com/api/json/v3/"
entries = [
"klank.school/A/code",
"klank.school/A/todo",
"klank.school/A/live",
"klank.school/A/unrepair",
"klank.school/A/calendar",
"klank.school/A/kalendar",
"klank.school/A/bardak",
]