skip to Main Content

Create domain 'example.com' failed Powerdns API – CPanel

I always getting the same error (Create domain 'example.com' failed) (or any domain) when trying to create new DNS zone with Powerdns API call. My request: $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,'http://127.0.0.1:953/api/v1/servers/localhost/zones'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, "{"name":"example.com.",…

VIEW QUESTION
Back To Top
Search