TechnitiumSoftware / DnsServer

Technitium DNS Server
https://technitium.com/dns/
GNU General Public License v3.0
3.83k stars 399 forks source link

Feature Request: Docker ENV Variable for Zone files #878

Closed wawall99 closed 3 months ago

wawall99 commented 3 months ago

A way of passing in zone files to save to the config on first start... or even every time, and then choosing whether you want it to overwrite the zone or not every time it starts.

ShreyasZare commented 3 months ago

Thanks for the request. The environment variables are intended to be used just to initialize some of the required settings on first start. If you need to do any thing more elaborate then its recommended to use something like a bash script that uses the HTTP API with curl and jq.