Closed micush closed 3 months ago
Thanks for the post. The reload option is not supported since the DNS server does not expect user to update the config files manually. The config is updated only via HTTP API and is automatically loaded without need to restart the DNS server.
Hi,
If not from the service definition then, is their any way to do this via an API call?
Regards,
Michael
If not from the service definition then, is their any way to do this via an API call?
If you have config files that you need to reload then you can use the Restore Settings option fro GUI or the HTTP API call for it. You will need to prepare a zip file which will contain the relevant config file you wish to overwrite and use that zip file with the restore operation. The DNS server will replace the config files from the zip and reload them without restarting the service.
Let me know if that helps.
Hi Shreyas,
It's my understanding that on Linux there's a difference between 'systemctl reload' and 'systemctl restart'. Apparently 'systemctl reload' just reloads the app config without restarting the app while 'systemctl restart' restarts the whole app.
It's possible to implement 'systemctl reload dns.service'? Currently:
Regards,
Michael