-
Couldn't load subscription status.
- Fork 5
queryDNS()
Joshua Pack edited this page Jun 22, 2021
·
1 revision
This method will get you direct access to the Cloudflare SDK
To make a call do this: $this-cloudflare->queryDNS() then the method you want to do.
-
addRecord(string $zoneID, string $type, string $name, string $content, int $ttl = 0, bool $proxied = true, string $priority = '', array $data = []): bool -
listRecords(string $zoneID, string $type = '', string $name = '', string $content = '', int $page = 1, int $perPage = 20, string $order = '', string $direction = '', string $match = 'all'): \stdClass -
getRecordDetails(string $zoneID, string $recordID): \stdClass -
getRecordID(string $zoneID, string $type = '', string $name = ''): string- loops through listRecords and returns id
-
updateRecordDetails(string $zoneID, string $recordID, array $details): \stdClass -
deleteRecord(string $zoneID, string $recordID): bool