The original post: /r/pihole by /u/ElectricSpock on 2025-01-21 04:52:19.

I installed pihole in k3s using mojo2600/pihole-kubernetes. All works fine, except for the query logging - I’m getting the IP of the pod instead of the actual local network name/address.

I filed a bug, but no response so far. I’m wondering if anyone ran into this issue earlier? I suspect that the issue might be the default load balancer used in k3s, a.k.a ServiceLB. I looked into that and effectively it’s just a bunch of iptables rules. I’m no expert in that, but I think it’s executing IP rewrite. Any hints before I reinstall the load balancer to MetalLB?