Commit graph

21 commits

Author SHA1 Message Date
Viktor Barzin
c0363be5e4
[ci skip] Add Grafana dashboard for Technitium DNS query logs
Add MySQL datasource and 15-panel dashboard for DNS analytics:
queries over time, response codes, top domains/clients, response
times, blocked/NxDomain domains. Enable Grafana dashboard sidecar
for auto-provisioning dashboards from ConfigMaps.
2026-02-16 23:06:41 +00:00
Viktor Barzin
a268b9107f
[ci skip] Replace specific CoreDNS catch-all blocks with generic template regex
Single template regex in the viktorbarzin.lan block catches ALL search
domain expansion junk (*.com.viktorbarzin.lan, *.cluster.local.viktorbarzin.lan,
etc.) instead of needing separate server blocks per pattern. Legitimate
single-label queries (idrac.viktorbarzin.lan) fall through to Technitium.
2026-02-16 21:49:03 +00:00
Viktor Barzin
19136c21f1
[ci skip] Fix .viktorbarzin.lan.viktorbarzin.lan duplicate DNS queries
Add CoreDNS catch-all block for viktorbarzin.lan.viktorbarzin.lan to
return NXDOMAIN immediately, preventing search domain expansion junk
queries from reaching Technitium. Add trailing dots to Prometheus
scrape targets (idrac, ups, ha-sofia) to bypass ndots expansion.
2026-02-16 21:38:38 +00:00
Viktor Barzin
205eb2704b
[ci skip] Fix Technitium DNS client IP logging: bypass Traefik L4 proxy
DNS queries were going through Traefik's IngressRouteUDP, replacing
real client IPs with Traefik pod IPs (10.10.169.150) in Technitium logs.
Changed Technitium DNS service from NodePort to LoadBalancer with
externalTrafficPolicy: Local, removed dns-udp entrypoint and
IngressRouteUDP from Traefik, and updated CoreDNS to forward .lan
queries to Technitium's LoadBalancer IP directly.
2026-02-16 21:16:16 +00:00
Viktor Barzin
a8f42d7fc0
[ci skip] Manage CoreDNS Corefile in Terraform and block junk NxDomain queries
Add kubernetes_config_map for CoreDNS to the technitium module, with a
template block for cluster.local.viktorbarzin.lan that returns NXDOMAIN
immediately. This prevents ndots:5 search domain expansion from flooding
Technitium with ~66k/day junk queries (e.g.
redis.redis.svc.cluster.local.viktorbarzin.lan).

Also enabled saveCache on Technitium so the DNS cache persists across
pod restarts.
2026-02-15 21:51:12 +00:00
Viktor Barzin
8abb8eddc0
add tier to all deployments [ci skip] 2026-01-10 16:28:14 +00:00
Viktor Barzin
a3624f80e0
replace hardcoded namespace with module reference [ci skip] 2025-12-29 10:23:42 +00:00
Viktor Barzin
32f51d94a4
disable diun for technitium [ci skip] 2025-12-26 16:15:00 +00:00
Viktor Barzin
063f849948
add message to not change nodeport service on technitium as that would mess up things [ci skip] 2025-01-25 17:21:57 +00:00
Viktor Barzin
d0e68769e7
use ingress factory for all hosted ingresses [ci skip] 2025-01-14 22:53:04 +00:00
Viktor Barzin
bf854be9c9
update diun annotations to correctly monitor for image version updates and update some services alongside[ci skip] 2024-12-30 14:01:38 +00:00
Viktor Barzin
185a944acd
replace oauth proxy with authentik auth [ci skip] 2024-11-18 22:06:31 +00:00
Viktor Barzin
cd89380b9f add tecnitium token to homepage [ci skip] 2024-10-20 13:05:11 +00:00
Viktor Barzin
15e951bd09
add diun annotation [ci skip] 2024-08-17 20:23:20 +00:00
Viktor Barzin
f0d9a51afb
add technitium template to istio [ci skip] 2024-01-08 23:01:48 +00:00
Viktor Barzin
50b57e1373
replace tls client cert auth with oauth and add localai stub [ci skip] 2023-10-22 14:07:18 +00:00
Viktor Barzin
e71c3946db
update tls certs; add technitium doh open without recursion for now; add dashy web 2023-10-21 12:14:31 +00:00
Viktor Barzin
69313d4613
recreate technitium instance to avoid db losses [ci skip] 2023-09-16 19:33:48 +00:00
Viktor Barzin
5061eb590b
add oidc to headscale and move technitium to a nodeport service [ci skip] 2023-09-15 22:55:13 +00:00
Viktor Barzin
28107b7328
set techniitum to nodeport to get source ip clients and remove bind [ci skip] 2023-09-15 13:57:53 +00:00
Viktor Barzin
96e43d4510
replace bind-pihole-dnscrypt with technitium [ci skip] 2023-09-14 09:20:16 +00:00