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