docker-powerdns icon indicating copy to clipboard operation
docker-powerdns copied to clipboard

API Key

Open matiasah opened this issue 4 years ago • 1 comments

Hello, could you add a way to provide an API Key and a port to use the API?

matiasah avatar Feb 22 '21 20:02 matiasah

You can enable the API and set an api-key by adding arguments, --api=yes --api-key=its@secret. Depending on how you're accessing it you may need to allow requests from non-localhost IP blocks. To allow from anywhere that'd be --webserver-allow-from=0.0.0.0/0. --loglevel=99 can be helpful in tracking down problems.

ross avatar Dec 20 '21 23:12 ross