Closed shirok1 closed 4 months ago
@shirok1 this has been fixed on recent versions
I am still getting this. CoreDNS is stuck in restart loop. Using v0.24.1.
loading Caddyfile via flag: open /root/dnsconfig/Corefile: no such file or directory
@abhishek9686
Contact Details
me@shirok1.dev
What happened?
I was using
docker-compose.yml
to deploynetmaker
, in whichPORT_FORWARD_SERVICES
is set todns
by default. Afterdocker compose up
,coredns
complains about the missing of /root/dnsconfig/Corefile andnetmaker
says "Fatal: Unable to initialize iptables on host: lookup coredns on 127.0.0.11:53: no such host".It seems that
coredns
is queued beforeCorefile
is generated, according to code here:https://github.com/gravitl/netmaker/blob/72526ebd32fcc590a66a59013a4c5553e31d18d4/main.go#L119-L130
Version
v0.17.0
What OS are you using?
Linux
Relevant log output
Contributing guidelines