31 Commits

Author SHA1 Message Date
bd377c7716 Merge pull request #7 from MarekWojt/feature/fixes-optimizations
Fixed:
- "internal server error" on authentication failure
- DNS TTL from 1 hour to 5 minutes

Improvements:
- pkg update
- removed logging on every DNS request
- now using string concatenation instead of formatting for DNS requests for performance reasons
2023-01-08 01:42:37 +01:00
7826aad522 remove log on DNS query, improve DNS performance 2023-01-07 19:12:33 +01:00
a6e305ca5a update pkg 2023-01-07 19:04:25 +01:00
accedccf6c up TTL to 5 minutes 2023-01-07 18:57:36 +01:00
50333de139 set TTL to 60 seconds instd of 1 hour 2023-01-07 17:58:33 +01:00
285ea8438e more sensible error handling: auth failure 2023-01-07 17:47:18 +01:00
7bf92a6241 Merge pull request #6 from MarekWojt/features/fixes
Fixed:

- missing response text on authentication failure
- missing response text on internal server error
- updating ipv6 via request for updating both ipv4 and ipv6 didn't work, could reset previously set ipv4
- domain list in auth.toml needed "." suffixes
2023-01-06 01:13:24 +01:00
250cd56b19 fix needed "." suffix in auth domain list 2023-01-05 20:31:38 +01:00
6e2d00bd6c fix ipv6 updating ipv4 in update both action 2023-01-05 20:16:52 +01:00
74aa218cf0 fix missing text on auth/internal failure 2023-01-05 20:15:33 +01:00
1e3c9b806d Merge pull request #5 from MarekWojt/feature/update-both
update ipv6 + ipv4 at once
2023-01-03 23:15:02 +01:00
621ec4b039 improve error message for update action 2023-01-03 22:58:00 +01:00
d04b937750 update ipv6 + ipv4 at once 2023-01-02 02:58:02 +01:00
378f094ce8 Merge pull request #4 from MarekWojt/feature/save
save records, fix . problem, extend readme
2022-03-21 17:54:46 +01:00
91709e65bd defer closing file when loading data 2022-03-20 02:20:13 +01:00
0e5a3d7361 fix using / in path 2022-03-20 02:18:46 +01:00
80c2a5717b save records, fix . problem, extend readme 2022-03-19 00:36:54 +01:00
b8313388b5 Merge pull request #3 from MarekWojt/clean-up
Clean up work
2021-10-30 18:35:59 +02:00
ultrasn0w
077de80f64 Restore newlines 2021-10-30 15:25:43 +02:00
daru
70b1b8c826 Code clean up + update modules 2021-10-30 15:05:59 +02:00
942c4d30e4 Merge pull request #2 from MarekWojt/feature/password-authentication
Password Authentication
2021-10-20 23:25:34 +02:00
fb35c5f3cc Password Authentication 2021-10-20 23:23:36 +02:00
aa90500616 Webserver 2021-10-18 03:03:05 +02:00
4c2a201622 Verbesserungen DNS-Server 2021-10-17 17:03:15 +02:00
95ef375bf9 Merge pull request #1 from MarekWojt/feature/config-file
Read TOML configuration files
2021-10-17 14:24:06 +02:00
5ef2f14cc7 config.Load doesn't return Configuration; global config.Config is actually set 2021-10-17 14:19:29 +02:00
daru
290a9af7f1 Don't panic! Propagate error 2021-10-17 13:49:56 +02:00
daru
1d7dcbe3ba Exclude conf from git 2021-10-17 13:29:26 +02:00
daru
dbd4b579e5 Read TOML configuration files 2021-10-17 13:24:27 +02:00
7c989eaaf4 DNS, Config, Auth, Web (leer) 2021-10-17 12:35:38 +02:00
5843a8a488 Initial commit 2021-10-17 00:15:36 +02:00