diff --git a/src/Controller/RequestController.php b/src/Controller/RequestController.php index 6e3928b..d0b727f 100644 --- a/src/Controller/RequestController.php +++ b/src/Controller/RequestController.php @@ -383,6 +383,7 @@ class RequestController if ($result = $this->domainRepository->insert(domain: $domain)) { $this->header = "201 Created"; $this->status = "201 Created"; + $this->domainController->createSlaveZoneFile(domain: $domain); } else { $this->header = "500 Server error"; $this->status = "500 Server error";