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' ],