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', [
|
$result = $client->post('http://127.0.0.1:8081/api/v1/servers/localhost/zones', [
|
||||||
'form_params' => [
|
'form_params' => [
|
||||||
'kind' => 'Native',
|
'kind' => 'Native',
|
||||||
|
'masters' => [];
|
||||||
'name' => $zone_name,
|
'name' => $zone_name,
|
||||||
'nameservers' => 'pdnstest.tfmm.co',
|
'nameservers' => [
|
||||||
|
'0' => 'pdnstest.tfmm.co'
|
||||||
|
],
|
||||||
'records' => [
|
'records' => [
|
||||||
'0' => [
|
'0' => [
|
||||||
'content' => 'pdnstest.tfmm.co. hostmaster.tfmm.co. 1 1800 900 604800 86400',
|
'content' => 'pdnstest.tfmm.co. hostmaster.tfmm.co. 1 1800 900 604800 86400',
|
||||||
|
Loading…
Reference in New Issue
Block a user