queryDNS() - joshuapack/laravel-cloudflare GitHub Wiki

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.

List of Methods

  • 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