I am trying to deploy pihole in a Kubernetes (k3s) cluster. I have read a lot, and I am out of ideas. I'm having the same issue as this topic: DNS Requests to Port 53 Over TCP Timeout And I have followed what it says, but I can't get it working.
Below you can find my settings:
jsalas@noldork3sn6:~$ dig +notcp @192.168.1.121 www.google.es
;; communications error to 192.168.1.121#53: timed out
;; communications error to 192.168.1.121#53: timed out
;; communications error to 192.168.1.121#53: timed out
; <<>> DiG 9.18.12-0ubuntu0.22.04.1-Ubuntu <<>> +notcp @192.168.1.121 www.google.es
; (1 server found)
;; global options: +cmd
;; no servers could be reached
jsalas@noldork3sn6:~$ dig +tcp @192.168.1.121 www.google.es
dig: couldn't get address for '1+92.168.1.121': not found
jsalas@noldork3sn6:~$ dig +tcp @192.168.1.121 www.google.es
;; Connection to 192.168.1.121#53(192.168.1.121) for www.google.es failed: host unreachable.
;; Connection to 192.168.1.121#53(192.168.1.121) for www.google.es failed: timed out.
;; Connection to 192.168.1.121#53(192.168.1.121) for www.google.es failed: host unreachable.
jsalas@noldork3sn6:~$
jsalas@raspiserver:~/miri/PXL_COL/BBT/S10$ k get svc -n dns-home
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
pihole-web ClusterIP 10.43.62.134 80/TCP,443/TCP,49312/TCP 20h
pihole-dns-tcp ClusterIP 10.43.111.55 53/TCP 24m
pihole-dns-udp ClusterIP 10.43.165.33 53/UDP 17h
k get svc -n kube-system
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kube-dns ClusterIP 10.43.0.10 53/UDP,53/TCP,9153/TCP 2d17h
metrics-server ClusterIP 10.43.163.121 443/TCP 2d17h
traefik LoadBalancer 10.43.208.25 192.168.1.121,192.168.1.120 3306:32244/TCP,8853:31671/TCP,80:30015/TCP,443:30012/TCP,8854:31687/UDP 17h