Compare commits

...

10 Commits

Author SHA1 Message Date
444f804efe Create Zone 2018-04-02 08:35:53 -04:00
eb7bf2b3c5 Create Zone 2018-04-02 08:28:02 -04:00
709c35fde2 Create Zone 2018-03-30 14:38:09 -04:00
ff031eaf39 Create Zone 2018-03-30 14:27:40 -04:00
0fdf756593 Create Zone 2018-03-30 14:24:17 -04:00
4f5fe12a09 Create Zone 2018-03-30 14:23:36 -04:00
35895be641 Create Zone 2018-03-30 14:21:42 -04:00
038e9a9a94 Create Zone 2018-03-30 13:59:45 -04:00
b5782bb944 Create Zone 2018-03-30 13:56:27 -04:00
bf5bcbfa7f Create Zone 2018-03-30 13:47:38 -04:00

View File

@ -30,23 +30,35 @@ class PagesController extends Controller
'masters' => [], 'masters' => [],
'name' => $zone_name . '.', 'name' => $zone_name . '.',
'nameservers' => [ 'nameservers' => [
'ns1.tfmm.co' 'ns1.tfmm.co.'
], ],
'records' => [ 'rrset' => [
[ [
'content' => 'pdnstest.tfmm.co. hostmaster.tfmm.co. 1 1800 900 604800 86400', 'name' => $zone_name . '.',
'disabled' => 'false',
'ttl' => '86400', 'ttl' => '86400',
'type' => 'SOA' 'type' => 'SOA',
'changetype' => 'replace',
'records' => [
[
'content' => 'pdnstest.tfmm.co. hostmaster.tfmm.co. 2018033001 1800 900 604800 86400',
'disabled' => false
]
]
], ],
[ [
'content' => $zone_primary_ip, 'name' => $zone_name . '.',
'disabled' => 'false',
'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'