psi-4ward / docker-powerdns

PowerDNS Docker Image based on Alpine
107 stars 110 forks source link

docs required for "restart" #61

Open sandroden opened 3 years ago

sandroden commented 3 years ago

Sorry if this is a very naïve question, but I don't understand how to reload configuration. Docs say that a sysv script is provided do that it acceepts "start", "restart" (and more). In the docker image which is the correct way to force powerdns to reload the configuration?

dginhoux commented 3 years ago

With docker you never reload the conf.... you kill the container and create a new one. Your conf must be in a database... and the daemon conf must be in a file, mounted in the container at /etc/powerdns/pdns.conf.