sameersbn / docker-bind

Dockerize BIND DNS server with webmin for DNS administration
MIT License
913 stars 333 forks source link

Container fails to load due to /etc/bind/named.conf error #115

Open richClubb opened 3 years ago

richClubb commented 3 years ago

Bit of a docker newbie so please go easy on me.

Tried to use bind:latest but get the following error (as reported by docker logs bind) whenever I try to run the container.

09-Jul-2021 15:58:10.880 loading configuration from '/etc/bind/named.conf' 09-Jul-2021 15:58:10.880 /etc/bind/named.conf:19: missing ';' before end of file 09-Jul-2021 15:58:10.895 loading configuration: failure 09-Jul-2021 15:58:10.895 exiting (due to fatal error

I've checked the /etc/bind/named.conf* files and they look correctly formatted. What is weird is that the name.conf only has 11 lines so I don't know how it is getting an error on line 19.

richClubb commented 3 years ago

Don't know exactly what the issue is but trying it on a different system seemed to solve it :( So this isn't blocking for me, but I'm leaving it open in case someone else wants to investigate this.

Please feel free to close if it is likely a user error