Create Zone
This commit is contained in:
parent
b15f6dd4c4
commit
f8e2032e58
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user