diff --git a/src/Endpoints/DNS.php b/src/Endpoints/DNS.php index a9f74749..860bb3e7 100644 --- a/src/Endpoints/DNS.php +++ b/src/Endpoints/DNS.php @@ -153,4 +153,11 @@ public function deleteRecord(string $zoneID, string $recordID): bool return false; } + + public function scanRecords(string $zoneID): \stdClass + { + $response = $this->adapter->post('zones/' . $zoneID . '/dns_records/scan'); + $this->body = json_decode($response->getBody()); + return $this->body; + } }