sameersbn / docker-bind

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

Configuration recovery after bind failure #81

Closed Tires closed 5 years ago

Tires commented 5 years ago

I had a hard time to recover after adding some wrong value to "allow-recursion". The whole Docker image failed to start, thus I couldn't fix the wrong value:

26-Aug-2019 14:52:30.512 loading configuration from '/etc/bind/named.conf'
26-Aug-2019 14:52:30.512 /etc/bind/named.conf.options:30: expected prefix length near '16,192.168.0.0'
26-Aug-2019 14:52:30.513 loading configuration: unexpected token
26-Aug-2019 14:52:30.513 exiting (due to fatal error)

Would it be possible to make the Docker image fail safe when bind cannot start?

Cheers, Dieter

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.