Commit Graph

54 Commits

Author SHA1 Message Date
20fb7ee2ff First step to detaching the templating from the logic. 2023-10-29 13:50:22 +01:00
5c74de5685 Switch a lot of Strings to Arc<str> 2023-10-08 09:12:06 +02:00
2aa6baaa57 Removed dns search functionality completely
I don't see it working and not being annoying
2023-08-07 21:52:31 +02:00
daa68bbd5d Reenabled search prevention fqdn dot 2023-08-07 21:42:56 +02:00
231e46a688 Disabled domain search as it caused problems 2023-08-07 21:40:22 +02:00
2fe1b69174 Beeter communication of dns errors 2023-08-07 21:09:14 +02:00
2e1f6a77ac Slightly better handling of invalid domain names 2023-08-07 20:05:25 +02:00
1fe59d24d5 Discard additional responses instead of misattributing them 2023-08-07 19:03:18 +02:00
cf806ad8f5 Implemented global search config 2023-08-06 01:45:48 +02:00
e7eba57cb2 Added aliases and some servers to test them 2023-08-06 01:19:02 +02:00
a334eb428a Proper dns configuration! 2023-08-06 00:04:42 +02:00
5c7d880733 Aded ranking of resolvers by a weight value 2023-08-05 23:19:53 +02:00
55897585ff Broke out settings and fixed a bug with the dns resolver not being persisted 2023-08-05 22:53:48 +02:00
d88b15ba02 Persist resover choice using a cookie 2023-08-05 22:36:28 +02:00
fdb23312df Made templates work with new data. 2023-08-05 21:09:56 +02:00
727d9a77cd Template passtrough for dns server information 2023-08-05 18:19:28 +02:00
104a072fd6 Configurable multiple dns resolvers 2023-08-04 00:00:21 +02:00
cd8c0455dc First prototype with multiple dns providers 2023-07-23 15:23:44 +02:00
a9512d7d4d Added a singal handler to make USR1 reload the geoip databses 2023-03-26 16:07:28 +02:00
6a57780490 Made the geoip database reloadable 2023-03-26 14:27:16 +02:00
3bcf8fde39 Use tokio concurrency knowlege to speed up DNS queries 2023-03-05 14:07:09 +01:00
896564791e Added plain text (gemtext like) templates 2023-02-25 15:42:59 +01:00
aa384c9eff Added an output to help when debugging static files 2023-02-25 13:43:43 +01:00
97507634df Added the possibility to serve static files 2023-02-25 13:30:46 +01:00
a48050b234 Added some ratelimiting middleware 2023-02-25 12:14:50 +01:00
9f3b6d0c17 Deduplication for dns records 2023-02-25 12:08:46 +01:00
c1cd66782f Rename to echoip-slatecave, AGPL License and README 2023-02-24 21:38:33 +01:00
42fd9c0bca Made dns more useful 2023-02-24 20:17:25 +01:00
b900ec3b1c Added support for CNAME, NS and SOA records 2023-02-24 11:43:29 +01:00
4881f76b5b Updated maxminddb dependency, added location info to lookup 2023-02-24 00:42:15 +01:00
da13444a2e Template improments, links, breadcrumbs for domain lookups 2023-02-24 00:01:51 +01:00
6e1d3c02ef Improved error handling a bit 2023-02-23 21:28:17 +01:00
bb872bef3c Fixed some idn edge cases 2023-02-23 13:20:18 +01:00
1108b7d653 Did some renaming because calling all those fields idna didn't really make sense.
Also switched to the less strict domain to ascii because the errors aren't exactly very well machine readable.
2023-02-23 11:32:30 +01:00
d202ebb14e Added IDN support 2023-02-23 00:58:38 +01:00
e3054e0158 implemented text query logic 2023-02-22 23:07:43 +01:00
5a27eb793d Fixed bug where global adresses wre classified as having an unknown scope 2023-02-22 23:05:38 +01:00
70f06ac501 Threw out some unneeded api 2023-02-22 21:32:10 +01:00
64498da57a Added echoing of user agents 2023-02-21 10:51:28 +01:00
c7ba9a6346 Added configurable user agents that get served the text version by default 2023-02-21 10:00:10 +01:00
c4379d4c19 Messages now have a title and a message 2023-02-21 08:55:29 +01:00
b9fc472120 Made the query settings template settings 2023-02-21 00:21:31 +01:00
52ace5f61f Middlewarre! 2023-02-21 00:06:49 +01:00
2abc5844ad Working template configuration file 2023-02-19 23:12:43 +01:00
d4caf1a77c All features in the config file work now 🎉 2023-02-19 22:05:49 +01:00
ee19071a3d Set up configuration for dns blocking of private domains. 2023-02-19 10:37:57 +01:00
645a0eed69 Working settings file! (partially) 2023-02-18 22:16:09 +01:00
2394d90087 Made querying with paths possible (for wasier commandline usage) 2023-02-18 18:07:52 +01:00
90705ea08a Working geoip lookup 2023-02-18 13:09:37 +01:00
2fb2385004 Write some major geolocation shuffling around code 2023-02-17 18:45:37 +01:00