From 7b8ce4961145056d34639025ccd0b8bc2e6b6db7 Mon Sep 17 00:00:00 2001 From: Russ Long Date: Fri, 30 Mar 2018 13:28:13 -0400 Subject: [PATCH] Create Zone --- app/Http/Controllers/PagesController.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/PagesController.php b/app/Http/Controllers/PagesController.php index 21e903a..4774fb7 100644 --- a/app/Http/Controllers/PagesController.php +++ b/app/Http/Controllers/PagesController.php @@ -33,19 +33,20 @@ class PagesController extends Controller '0' => 'pdnstest.tfmm.co.' ], 'records' => [ + [ 'content' => 'pdnstest.tfmm.co. hostmaster.tfmm.co. 1 1800 900 604800 86400', 'disabled' => 'false', 'ttl' => '86400', 'type' => 'SOA' ], - 'records' => [ + [ 'content' => $zone_primary_ip, 'disabled' => 'false', 'name' => $zone_name, 'ttl' => '3600', 'type' => 'A' ] - + ] ], 'headers' => [ 'X-API-Key' => 'JgTtTq6EFVeo7X71wOVCYQk3rOie2G1k'