summaryrefslogtreecommitdiff
path: root/linum.toml
diff options
context:
space:
mode:
authorradhitya <alif@radhitya.org>2026-06-21 13:11:55 +0700
committerradhitya <alif@radhitya.org>2026-06-21 13:11:55 +0700
commit81661cc8deaacbff3497f0c9ef2625e98257ef76 (patch)
tree704e61822482cf5a9f18ef3b34cea2d4f78be4f3 /linum.toml
parentb7359e1d45f505171356bcae3c7d5e2341ecc859 (diff)
dot, readme
Diffstat (limited to 'linum.toml')
-rw-r--r--linum.toml11
1 files changed, 8 insertions, 3 deletions
diff --git a/linum.toml b/linum.toml
index 3e4637f..4fbde64 100644
--- a/linum.toml
+++ b/linum.toml
@@ -1,7 +1,8 @@
[server]
-listen_udp = ":5354"
-listen_tcp = ":5354"
+listen_udp = ":53"
+listen_tcp = ":53"
listen_doh = ":8443"
+listen_dot = ":853"
[cache]
max_entries = 100000
@@ -15,7 +16,7 @@ forwarders = ["1.1.1.1"]
[blocklist]
response = "zero_ip"
-files = ["etc/blocklist/*.txt"]
+files = ["/etc/linum/blocklist/*.txt"]
#urls = [
# "https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts",
#]
@@ -28,5 +29,9 @@ allow = ["127.0.0.1/8", "::1/128"]
rate_limit_qps = 50
rate_limit_burst = 10
+[tls]
+cert = "/tmp/linum-cert.pem"
+key = "/tmp/linum-key.pem"
+
[log]
level = "info"