summaryrefslogtreecommitdiff
path: root/linum.toml
diff options
context:
space:
mode:
authorradhitya <alif@radhitya.org>2026-06-14 17:17:56 +0700
committerradhitya <alif@radhitya.org>2026-06-14 17:17:56 +0700
commitd173554892339e5211020c60d6af610840eef7ed (patch)
tree295ce37851532e6180b47c63ed34146a01adc12c /linum.toml
parent4e6a897a0b55ee533c05f89fa38dbe0704f2798d (diff)
config, rebranding, fix cache
Diffstat (limited to 'linum.toml')
-rw-r--r--linum.toml22
1 files changed, 22 insertions, 0 deletions
diff --git a/linum.toml b/linum.toml
new file mode 100644
index 0000000..bdb30ba
--- /dev/null
+++ b/linum.toml
@@ -0,0 +1,22 @@
+[server]
+listen_udp = ":5353"
+listen_tcp = ":5353"
+listen_doh = ":8443"
+
+[cache]
+max_entries = 100000
+db_path = "/tmp/cache.db"
+[resolver]
+timeout = "2s"
+max_delegations = 30
+
+[blocklist]
+response = "zero_ip"
+files = ["etc/blocklist/*.txt"]
+#urls = [
+ # "https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts",
+ # "https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt",
+#]
+
+[log]
+level = "info"