Continuous Integration and Continuous Delivery scripts for DNS zones
Automated builds of the image are available on:
- DockerHub: quinot/dns_ci_cd
Taking inspiration from:
There is no build step: zone files and config files are handed directly to Knot, which takes care of serial management.
- Config file:
knotc conf-check
- Zone files:
kzonecheck
- Copy configuration and zone files
- Config and zone files are expected to reside in /config and /config/zones, respectively (as in https://github.com/quinot/docker-knot-ssh)
- Reload name server
- If config file changed: full reload
- Else reload only changed zones