Create Zone
This commit is contained in:
parent
038e9a9a94
commit
35895be641
@ -32,22 +32,29 @@ class PagesController extends Controller
|
|||||||
'nameservers' => [
|
'nameservers' => [
|
||||||
'ns1.tfmm.co.'
|
'ns1.tfmm.co.'
|
||||||
],
|
],
|
||||||
'records' => [
|
'rrsets' => [
|
||||||
[
|
[
|
||||||
'content' => 'pdnstest.tfmm.co. hostmaster.tfmm.co. 1 1800 900 604800 86400',
|
|
||||||
'disabled' => 'false',
|
|
||||||
'name' => $zone_name,
|
'name' => $zone_name,
|
||||||
'ttl' => '86400',
|
'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,
|
'name' => $zone_name,
|
||||||
'ttl' => '3600',
|
'ttl' => '3600',
|
||||||
'type' => 'A'
|
'type' => 'A',
|
||||||
|
'changetype' => 'REPLACE',
|
||||||
|
'records' => [
|
||||||
|
'content' => $zone_primary_ip,
|
||||||
|
'disabled' => 'false'
|
||||||
|
]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
]
|
||||||
],
|
],
|
||||||
'headers' => [
|
'headers' => [
|
||||||
'X-API-Key' => 'JgTtTq6EFVeo7X71wOVCYQk3rOie2G1k'
|
'X-API-Key' => 'JgTtTq6EFVeo7X71wOVCYQk3rOie2G1k'
|
||||||
|
Loading…
Reference in New Issue
Block a user