gravitl / netmaker

Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
https://netmaker.io
Other
9.4k stars 547 forks source link

[Bug]: CoreDNS not reachable #967

Closed g0rbe closed 2 years ago

g0rbe commented 2 years ago

Contact Details

No response

What happened?

I can see that CoreDNS is running:

docker-compose ps:

...
coredns       /coredns -conf /root/dnsco ...   Up      53/tcp, 53/udp
...

Im trying to reach via

Ping is ok.

ufw status verbose:

Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), deny (routed)
New profiles: skip

To                         Action      From
--                         ------      ----
443/tcp                    ALLOW IN    Anywhere                  
51821:51830/udp            ALLOW IN    Anywhere                  
22/tcp                     ALLOW IN    Anywhere                  
80/tcp                     ALLOW IN    Anywhere                  
53/tcp                     ALLOW IN    Anywhere                  
53/udp                     ALLOW IN    Anywhere                  
443/tcp (v6)               ALLOW IN    Anywhere (v6)             
51821:51830/udp (v6)       ALLOW IN    Anywhere (v6)             
22/tcp (v6)                ALLOW IN    Anywhere (v6)             
80/tcp (v6)                ALLOW IN    Anywhere (v6)             
53/tcp (v6)                ALLOW IN    Anywhere (v6)             
53/udp (v6)                ALLOW IN    Anywhere (v6)  

The server is Ubuntu 20.04. The install is exactly the Quick Install. The node is a Debian 10 with systemd-resolved.

Thanks! :)

Version

v0.12.1

What OS are you using?

Linux

Relevant log output

No log.

Contributing guidelines

g0rbe commented 2 years ago

I figured out: The docker-compose.contained.yml which is comes with the Quick Install does not include dns in PORT_FORWARD_SERVICES.

Setting to PORT_FORWARD_SERVICES: "mq,dns" solved the problem :)