Create Zone

This commit is contained in:
Russ Long 2018-03-30 14:21:42 -04:00
parent 038e9a9a94
commit 35895be641

View File

@ -32,20 +32,27 @@ class PagesController extends Controller
'nameservers' => [
'ns1.tfmm.co.'
],
'records' => [
'rrsets' => [
[
'content' => 'pdnstest.tfmm.co. hostmaster.tfmm.co. 1 1800 900 604800 86400',
'disabled' => 'false',
'name' => $zone_name,
'ttl' => '86400',
'type' => 'SOA'
'type' => 'SOA',
'changetype' => 'REPLACE',
'records' => [
'content' => 'pdnstest.tfmm.co. hostmaster.tfmm.co. 1 1800 900 604800 86400',
'disabled' => 'false'
]
],
[
'content' => $zone_primary_ip,
'disabled' => 'false',
'name' => $zone_name,
'ttl' => '3600',
'type' => 'A'
'type' => 'A',
'changetype' => 'REPLACE',
'records' => [
'content' => $zone_primary_ip,
'disabled' => 'false'
]
]
]
]
],