[SOLVED] Cannot connect to DNS server on lxc container

hakayova

New Member
Dec 9, 2023
9
2
3
Hi,

I set up an unbound DNS server on an lxc container, enabled and started it. The container is debian-based and I confirm from within the container that the service is running. However, when I try to reach it from the same LAN/subnet (the client IP is 192.168.1.130) I get the following error:

Code:
$ dig @192.168.1.154
;; communications error to 192.168.1.154#53: connection refused
;; communications error to 192.168.1.154#53: connection refused
;; communications error to 192.168.1.154#53: connection refused

; <<>> DiG 9.20.15-1~deb13u1-Debian <<>> @192.168.1.154
; (1 server found)
;; global options: +cmd
;; no servers could be reached

I have no firewall service running in the container. I also disabled the container's firewall both at container's Network and Firewall/Options tabs. What am I missing?