diff --git a/app/Http/Controllers/PagesController.php b/app/Http/Controllers/PagesController.php index 09fadf8..bf0630a 100644 --- a/app/Http/Controllers/PagesController.php +++ b/app/Http/Controllers/PagesController.php @@ -30,8 +30,11 @@ class PagesController extends Controller $result = $client->post('http://127.0.0.1:8081/api/v1/servers/localhost/zones', [ 'form_params' => [ 'kind' => 'Native', + 'masters' => []; 'name' => $zone_name, - 'nameservers' => 'pdnstest.tfmm.co', + 'nameservers' => [ + '0' => 'pdnstest.tfmm.co' + ], 'records' => [ '0' => [ 'content' => 'pdnstest.tfmm.co. hostmaster.tfmm.co. 1 1800 900 604800 86400',