Create Zone

This commit is contained in:
Russ Long 2018-03-30 13:28:13 -04:00
parent 4b4cea1ee2
commit 7b8ce49611

View File

@ -33,19 +33,20 @@ class PagesController extends Controller
'0' => 'pdnstest.tfmm.co.' '0' => 'pdnstest.tfmm.co.'
], ],
'records' => [ 'records' => [
[
'content' => 'pdnstest.tfmm.co. hostmaster.tfmm.co. 1 1800 900 604800 86400', 'content' => 'pdnstest.tfmm.co. hostmaster.tfmm.co. 1 1800 900 604800 86400',
'disabled' => 'false', 'disabled' => 'false',
'ttl' => '86400', 'ttl' => '86400',
'type' => 'SOA' 'type' => 'SOA'
], ],
'records' => [ [
'content' => $zone_primary_ip, 'content' => $zone_primary_ip,
'disabled' => 'false', 'disabled' => 'false',
'name' => $zone_name, 'name' => $zone_name,
'ttl' => '3600', 'ttl' => '3600',
'type' => 'A' 'type' => 'A'
] ]
]
], ],
'headers' => [ 'headers' => [
'X-API-Key' => 'JgTtTq6EFVeo7X71wOVCYQk3rOie2G1k' 'X-API-Key' => 'JgTtTq6EFVeo7X71wOVCYQk3rOie2G1k'