Commit Graph

72 Commits

Author SHA1 Message Date
Slatian
708fb9c0b3 Improve configurability 2024-08-06 19:17:37 +02:00
Slatian
1863af50f8 Remove unused configuration option 2024-08-06 18:36:40 +02:00
Slatian
52d2834e98 Replace lazy_static crate with "new" std::sync::LazyLock 2024-08-06 18:35:00 +02:00
Slatian
13cb85ac5a Added an opt-in to looking up own IP-Address 2024-04-21 00:00:04 +02:00
Slatian
1ce60d8291 to_trust_resolver_config() -> to_hickory_resolver_config() 2024-02-11 11:52:33 +01:00
Slatian
610842abac Remove unused import 2024-02-11 11:51:08 +01:00
Slatian
b08c98376c Update trust_dns to hickory
It doesn't work yet because of:
https://github.com/hickory-dns/hickory-dns/issues/2108
2023-12-10 18:34:20 +01:00
Slatian
d706e7c614 Update to axum 0.7 2023-12-09 23:21:19 +01:00
Slatian
fb0ce1dc0b Update trust_dns to 23.2 2023-12-09 11:54:07 +01:00
Slatian
636e10f786 Adapted to the new syncronous interface of the HumusEngine 2023-10-30 17:44:33 +01:00
Slatian
f2e9e36e99 codename mycelium became lib-humus 2023-10-30 01:54:35 +01:00
Slatian
912a119361 Made template loading logic reuseable 2023-10-29 20:52:32 +01:00
Slatian
5adca4fb80 WIP moved templating engine to mycelium 2023-10-29 18:56:44 +01:00
Slatian
5ac056ef99 Made sure the get_status and update_response callbacks are used correctly 2023-10-29 18:20:57 +01:00
Slatian
51aa05fe13 Added query settings to the generaliued templating mechanism 2023-10-29 18:10:57 +01:00
Slatian
de179ea7fa Proper MimeType handling with mycelium 2023-10-29 16:51:43 +01:00
Slatian
bfa383ddbe Fixed template data piping 2023-10-29 15:36:16 +01:00
Slatian
a33473fdc9 Moved to a more genral implementation for the response format. 2023-10-29 15:23:47 +01:00
Slatian
20fb7ee2ff First step to detaching the templating from the logic. 2023-10-29 13:50:22 +01:00
Slatian
5c74de5685 Switch a lot of Strings to Arc<str> 2023-10-08 09:12:06 +02:00
Slatian
2aa6baaa57 Removed dns search functionality completely
I don't see it working and not being annoying
2023-08-07 21:52:31 +02:00
Slatian
daa68bbd5d Reenabled search prevention fqdn dot 2023-08-07 21:42:56 +02:00
Slatian
231e46a688 Disabled domain search as it caused problems 2023-08-07 21:40:22 +02:00
Slatian
2fe1b69174 Beeter communication of dns errors 2023-08-07 21:09:14 +02:00
Slatian
2e1f6a77ac Slightly better handling of invalid domain names 2023-08-07 20:05:25 +02:00
Slatian
1fe59d24d5 Discard additional responses instead of misattributing them 2023-08-07 19:03:18 +02:00
Slatian
cf806ad8f5 Implemented global search config 2023-08-06 01:45:48 +02:00
Slatian
e7eba57cb2 Added aliases and some servers to test them 2023-08-06 01:19:02 +02:00
Slatian
a334eb428a Proper dns configuration! 2023-08-06 00:04:42 +02:00
Slatian
5c7d880733 Aded ranking of resolvers by a weight value 2023-08-05 23:19:53 +02:00
Slatian
55897585ff Broke out settings and fixed a bug with the dns resolver not being persisted 2023-08-05 22:53:48 +02:00
Slatian
d88b15ba02 Persist resover choice using a cookie 2023-08-05 22:36:28 +02:00
Slatian
fdb23312df Made templates work with new data. 2023-08-05 21:09:56 +02:00
Slatian
727d9a77cd Template passtrough for dns server information 2023-08-05 18:19:28 +02:00
Slatian
104a072fd6 Configurable multiple dns resolvers 2023-08-04 00:00:21 +02:00
Slatian
cd8c0455dc First prototype with multiple dns providers 2023-07-23 15:23:44 +02:00
Slatian
a9512d7d4d Added a singal handler to make USR1 reload the geoip databses 2023-03-26 16:07:28 +02:00
Slatian
6a57780490 Made the geoip database reloadable 2023-03-26 14:27:16 +02:00
Slatian
3bcf8fde39 Use tokio concurrency knowlege to speed up DNS queries 2023-03-05 14:07:09 +01:00
Slatian
896564791e Added plain text (gemtext like) templates 2023-02-25 15:42:59 +01:00
Slatian
aa384c9eff Added an output to help when debugging static files 2023-02-25 13:43:43 +01:00
Slatian
97507634df Added the possibility to serve static files 2023-02-25 13:30:46 +01:00
Slatian
a48050b234 Added some ratelimiting middleware 2023-02-25 12:14:50 +01:00
Slatian
9f3b6d0c17 Deduplication for dns records 2023-02-25 12:08:46 +01:00
Slatian
c1cd66782f Rename to echoip-slatecave, AGPL License and README 2023-02-24 21:38:33 +01:00
Slatian
42fd9c0bca Made dns more useful 2023-02-24 20:17:25 +01:00
Slatian
b900ec3b1c Added support for CNAME, NS and SOA records 2023-02-24 11:43:29 +01:00
Slatian
4881f76b5b Updated maxminddb dependency, added location info to lookup 2023-02-24 00:42:15 +01:00
Slatian
da13444a2e Template improments, links, breadcrumbs for domain lookups 2023-02-24 00:01:51 +01:00
Slatian
6e1d3c02ef Improved error handling a bit 2023-02-23 21:28:17 +01:00