From bf5bcbfa7f7c5ac690185ba9dc9d985bcdefd92b Mon Sep 17 00:00:00 2001 From: Russ Long Date: Fri, 30 Mar 2018 13:47:38 -0400 Subject: [PATCH] Create Zone --- app/Http/Controllers/PagesController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/PagesController.php b/app/Http/Controllers/PagesController.php index 5497fae..73c4ccb 100644 --- a/app/Http/Controllers/PagesController.php +++ b/app/Http/Controllers/PagesController.php @@ -30,12 +30,13 @@ class PagesController extends Controller 'masters' => [], 'name' => $zone_name . '.', 'nameservers' => [ - 'ns1.tfmm.co' + 'ns1.tfmm.co.' ], 'records' => [ [ 'content' => 'pdnstest.tfmm.co. hostmaster.tfmm.co. 1 1800 900 604800 86400', 'disabled' => 'false', + 'name' => $zone_name, 'ttl' => '86400', 'type' => 'SOA' ],