Create Zone

This commit is contained in:
Russ Long 2018-03-30 14:38:09 -04:00
parent ff031eaf39
commit 709c35fde2

View File

@ -39,9 +39,11 @@ class PagesController extends Controller
'type' => 'SOA', 'type' => 'SOA',
'changetype' => 'REPLACE', 'changetype' => 'REPLACE',
'records' => [ 'records' => [
[
'content' => 'pdnstest.tfmm.co. hostmaster.tfmm.co. 2018033001 1800 900 604800 86400', 'content' => 'pdnstest.tfmm.co. hostmaster.tfmm.co. 2018033001 1800 900 604800 86400',
'disabled' => 'false' 'disabled' => 'false'
] ]
]
], ],
[ [
'name' => $zone_name . '.', 'name' => $zone_name . '.',
@ -49,11 +51,13 @@ class PagesController extends Controller
'type' => 'A', 'type' => 'A',
'changetype' => 'REPLACE', 'changetype' => 'REPLACE',
'records' => [ 'records' => [
[
'content' => $zone_primary_ip, 'content' => $zone_primary_ip,
'disabled' => 'false' 'disabled' => 'false'
] ]
] ]
] ]
]
], ],
'headers' => [ 'headers' => [