## Review Scanned DNS Records `dns.records.scan_review(RecordScanReviewParams**kwargs) -> RecordScanReviewResponse` **post** `/zones/{zone_id}/dns_records/scan/review` Accept or reject DNS records found by the DNS records scan. Accepted records will be permanently added to the zone, while rejected records will be permanently deleted. ### Parameters - `zone_id: str` Identifier. - `accepts: Optional[Iterable[Accept]]` - `class ARecord: …` - `name: str` Complete DNS record name, including the zone name, in Punycode. - `ttl: TTL` Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. - `float` - `Literal[1]` Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. - `1` - `type: Literal["A"]` Record type. - `"A"` - `comment: Optional[str]` Comments or notes about the DNS record. This field has no effect on DNS responses. - `content: Optional[str]` A valid IPv4 address. - `private_routing: Optional[bool]` Enables private network routing to the origin. - `proxied: Optional[bool]` Whether the record is receiving the performance and security benefits of Cloudflare. - `settings: Optional[Settings]` Settings for the DNS record. - `ipv4_only: Optional[bool]` When enabled, only A records will be generated, and AAAA records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `ipv6_only: Optional[bool]` When enabled, only AAAA records will be generated, and A records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `tags: Optional[List[RecordTags]]` Custom tags for the DNS record. This field has no effect on DNS responses. - `class AAAARecord: …` - `name: str` Complete DNS record name, including the zone name, in Punycode. - `ttl: TTL` Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. - `type: Literal["AAAA"]` Record type. - `"AAAA"` - `comment: Optional[str]` Comments or notes about the DNS record. This field has no effect on DNS responses. - `content: Optional[str]` A valid IPv6 address. - `private_routing: Optional[bool]` Enables private network routing to the origin. - `proxied: Optional[bool]` Whether the record is receiving the performance and security benefits of Cloudflare. - `settings: Optional[Settings]` Settings for the DNS record. - `ipv4_only: Optional[bool]` When enabled, only A records will be generated, and AAAA records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `ipv6_only: Optional[bool]` When enabled, only AAAA records will be generated, and A records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `tags: Optional[List[RecordTags]]` Custom tags for the DNS record. This field has no effect on DNS responses. - `class CNAMERecord: …` - `name: str` Complete DNS record name, including the zone name, in Punycode. - `ttl: TTL` Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. - `type: Literal["CNAME"]` Record type. - `"CNAME"` - `comment: Optional[str]` Comments or notes about the DNS record. This field has no effect on DNS responses. - `content: Optional[str]` A valid hostname. Must not match the record's name. - `proxied: Optional[bool]` Whether the record is receiving the performance and security benefits of Cloudflare. - `settings: Optional[Settings]` Settings for the DNS record. - `flatten_cname: Optional[bool]` If enabled, causes the CNAME record to be resolved externally and the resulting address records (e.g., A and AAAA) to be returned instead of the CNAME record itself. This setting is unavailable for proxied records, since they are always flattened. - `ipv4_only: Optional[bool]` When enabled, only A records will be generated, and AAAA records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `ipv6_only: Optional[bool]` When enabled, only AAAA records will be generated, and A records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `tags: Optional[List[RecordTags]]` Custom tags for the DNS record. This field has no effect on DNS responses. - `class MXRecord: …` - `name: str` Complete DNS record name, including the zone name, in Punycode. - `ttl: TTL` Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. - `type: Literal["MX"]` Record type. - `"MX"` - `comment: Optional[str]` Comments or notes about the DNS record. This field has no effect on DNS responses. - `content: Optional[str]` A valid mail server hostname. - `priority: Optional[float]` Required for MX and URI records; ignored for other record types (but may still be returned by the API). Records with lower priorities are preferred. This field is to be deprecated in favor of the priority field within the data map. - `proxied: Optional[bool]` Whether the record is receiving the performance and security benefits of Cloudflare. - `settings: Optional[Settings]` Settings for the DNS record. - `ipv4_only: Optional[bool]` When enabled, only A records will be generated, and AAAA records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `ipv6_only: Optional[bool]` When enabled, only AAAA records will be generated, and A records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `tags: Optional[List[RecordTags]]` Custom tags for the DNS record. This field has no effect on DNS responses. - `class NSRecord: …` - `name: str` Complete DNS record name, including the zone name, in Punycode. - `ttl: TTL` Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. - `type: Literal["NS"]` Record type. - `"NS"` - `comment: Optional[str]` Comments or notes about the DNS record. This field has no effect on DNS responses. - `content: Optional[str]` A valid name server host name. - `proxied: Optional[bool]` Whether the record is receiving the performance and security benefits of Cloudflare. - `settings: Optional[Settings]` Settings for the DNS record. - `ipv4_only: Optional[bool]` When enabled, only A records will be generated, and AAAA records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `ipv6_only: Optional[bool]` When enabled, only AAAA records will be generated, and A records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `tags: Optional[List[RecordTags]]` Custom tags for the DNS record. This field has no effect on DNS responses. - `class AcceptDNSRecordsOpenpgpkeyRecord: …` - `name: str` Complete DNS record name, including the zone name, in Punycode. - `ttl: TTLParam` Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. - `type: Literal["OPENPGPKEY"]` Record type. - `"OPENPGPKEY"` - `comment: Optional[str]` Comments or notes about the DNS record. This field has no effect on DNS responses. - `content: Optional[str]` A single Base64-encoded OpenPGP Transferable Public Key (RFC 4880 Section 11.1) - `proxied: Optional[bool]` Whether the record is receiving the performance and security benefits of Cloudflare. - `settings: Optional[AcceptDNSRecordsOpenpgpkeyRecordSettings]` Settings for the DNS record. - `ipv4_only: Optional[bool]` When enabled, only A records will be generated, and AAAA records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `ipv6_only: Optional[bool]` When enabled, only AAAA records will be generated, and A records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `tags: Optional[SequenceNotStr[RecordTags]]` Custom tags for the DNS record. This field has no effect on DNS responses. - `class PTRRecord: …` - `name: str` Complete DNS record name, including the zone name, in Punycode. - `ttl: TTL` Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. - `type: Literal["PTR"]` Record type. - `"PTR"` - `comment: Optional[str]` Comments or notes about the DNS record. This field has no effect on DNS responses. - `content: Optional[str]` Domain name pointing to the address. - `proxied: Optional[bool]` Whether the record is receiving the performance and security benefits of Cloudflare. - `settings: Optional[Settings]` Settings for the DNS record. - `ipv4_only: Optional[bool]` When enabled, only A records will be generated, and AAAA records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `ipv6_only: Optional[bool]` When enabled, only AAAA records will be generated, and A records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `tags: Optional[List[RecordTags]]` Custom tags for the DNS record. This field has no effect on DNS responses. - `class TXTRecord: …` - `name: str` Complete DNS record name, including the zone name, in Punycode. - `ttl: TTL` Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. - `type: Literal["TXT"]` Record type. - `"TXT"` - `comment: Optional[str]` Comments or notes about the DNS record. This field has no effect on DNS responses. - `content: Optional[str]` Text content for the record. The content must consist of quoted "character strings" (RFC 1035), each with a length of up to 255 bytes. Strings exceeding this allowed maximum length are automatically split. Learn more at . - `proxied: Optional[bool]` Whether the record is receiving the performance and security benefits of Cloudflare. - `settings: Optional[Settings]` Settings for the DNS record. - `ipv4_only: Optional[bool]` When enabled, only A records will be generated, and AAAA records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `ipv6_only: Optional[bool]` When enabled, only AAAA records will be generated, and A records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `tags: Optional[List[RecordTags]]` Custom tags for the DNS record. This field has no effect on DNS responses. - `class CAARecord: …` - `name: str` Complete DNS record name, including the zone name, in Punycode. - `ttl: TTL` Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. - `type: Literal["CAA"]` Record type. - `"CAA"` - `comment: Optional[str]` Comments or notes about the DNS record. This field has no effect on DNS responses. - `content: Optional[str]` Formatted CAA content. See 'data' to set CAA properties. - `data: Optional[Data]` Components of a CAA record. - `flags: Optional[float]` Flags for the CAA record. - `tag: Optional[str]` Name of the property controlled by this record (e.g.: issue, issuewild, iodef). - `value: Optional[str]` Value of the record. This field's semantics depend on the chosen tag. - `proxied: Optional[bool]` Whether the record is receiving the performance and security benefits of Cloudflare. - `settings: Optional[Settings]` Settings for the DNS record. - `ipv4_only: Optional[bool]` When enabled, only A records will be generated, and AAAA records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `ipv6_only: Optional[bool]` When enabled, only AAAA records will be generated, and A records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `tags: Optional[List[RecordTags]]` Custom tags for the DNS record. This field has no effect on DNS responses. - `class CERTRecord: …` - `name: str` Complete DNS record name, including the zone name, in Punycode. - `ttl: TTL` Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. - `type: Literal["CERT"]` Record type. - `"CERT"` - `comment: Optional[str]` Comments or notes about the DNS record. This field has no effect on DNS responses. - `content: Optional[str]` Formatted CERT content. See 'data' to set CERT properties. - `data: Optional[Data]` Components of a CERT record. - `algorithm: Optional[float]` Algorithm. - `certificate: Optional[str]` Certificate. - `key_tag: Optional[float]` Key Tag. - `type: Optional[float]` Type. - `proxied: Optional[bool]` Whether the record is receiving the performance and security benefits of Cloudflare. - `settings: Optional[Settings]` Settings for the DNS record. - `ipv4_only: Optional[bool]` When enabled, only A records will be generated, and AAAA records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `ipv6_only: Optional[bool]` When enabled, only AAAA records will be generated, and A records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `tags: Optional[List[RecordTags]]` Custom tags for the DNS record. This field has no effect on DNS responses. - `class DNSKEYRecord: …` - `name: str` Complete DNS record name, including the zone name, in Punycode. - `ttl: TTL` Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. - `type: Literal["DNSKEY"]` Record type. - `"DNSKEY"` - `comment: Optional[str]` Comments or notes about the DNS record. This field has no effect on DNS responses. - `content: Optional[str]` Formatted DNSKEY content. See 'data' to set DNSKEY properties. - `data: Optional[Data]` Components of a DNSKEY record. - `algorithm: Optional[float]` Algorithm. - `flags: Optional[float]` Flags. - `protocol: Optional[float]` Protocol. - `public_key: Optional[str]` Public Key. - `proxied: Optional[bool]` Whether the record is receiving the performance and security benefits of Cloudflare. - `settings: Optional[Settings]` Settings for the DNS record. - `ipv4_only: Optional[bool]` When enabled, only A records will be generated, and AAAA records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `ipv6_only: Optional[bool]` When enabled, only AAAA records will be generated, and A records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `tags: Optional[List[RecordTags]]` Custom tags for the DNS record. This field has no effect on DNS responses. - `class DSRecord: …` - `name: str` Complete DNS record name, including the zone name, in Punycode. - `ttl: TTL` Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. - `type: Literal["DS"]` Record type. - `"DS"` - `comment: Optional[str]` Comments or notes about the DNS record. This field has no effect on DNS responses. - `content: Optional[str]` Formatted DS content. See 'data' to set DS properties. - `data: Optional[Data]` Components of a DS record. - `algorithm: Optional[float]` Algorithm. - `digest: Optional[str]` Digest. - `digest_type: Optional[float]` Digest Type. - `key_tag: Optional[float]` Key Tag. - `proxied: Optional[bool]` Whether the record is receiving the performance and security benefits of Cloudflare. - `settings: Optional[Settings]` Settings for the DNS record. - `ipv4_only: Optional[bool]` When enabled, only A records will be generated, and AAAA records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `ipv6_only: Optional[bool]` When enabled, only AAAA records will be generated, and A records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `tags: Optional[List[RecordTags]]` Custom tags for the DNS record. This field has no effect on DNS responses. - `class HTTPSRecord: …` - `name: str` Complete DNS record name, including the zone name, in Punycode. - `ttl: TTL` Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. - `type: Literal["HTTPS"]` Record type. - `"HTTPS"` - `comment: Optional[str]` Comments or notes about the DNS record. This field has no effect on DNS responses. - `content: Optional[str]` Formatted HTTPS content. See 'data' to set HTTPS properties. - `data: Optional[Data]` Components of a HTTPS record. - `priority: Optional[float]` Priority. - `target: Optional[str]` Target. - `value: Optional[str]` Value. - `proxied: Optional[bool]` Whether the record is receiving the performance and security benefits of Cloudflare. - `settings: Optional[Settings]` Settings for the DNS record. - `ipv4_only: Optional[bool]` When enabled, only A records will be generated, and AAAA records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `ipv6_only: Optional[bool]` When enabled, only AAAA records will be generated, and A records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `tags: Optional[List[RecordTags]]` Custom tags for the DNS record. This field has no effect on DNS responses. - `class LOCRecord: …` - `name: str` Complete DNS record name, including the zone name, in Punycode. - `ttl: TTL` Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. - `type: Literal["LOC"]` Record type. - `"LOC"` - `comment: Optional[str]` Comments or notes about the DNS record. This field has no effect on DNS responses. - `content: Optional[str]` Formatted LOC content. See 'data' to set LOC properties. - `data: Optional[Data]` Components of a LOC record. - `altitude: Optional[float]` Altitude of location in meters. - `lat_degrees: Optional[float]` Degrees of latitude. - `lat_direction: Optional[Literal["N", "S"]]` Latitude direction. - `"N"` - `"S"` - `lat_minutes: Optional[float]` Minutes of latitude. - `lat_seconds: Optional[float]` Seconds of latitude. - `long_degrees: Optional[float]` Degrees of longitude. - `long_direction: Optional[Literal["E", "W"]]` Longitude direction. - `"E"` - `"W"` - `long_minutes: Optional[float]` Minutes of longitude. - `long_seconds: Optional[float]` Seconds of longitude. - `precision_horz: Optional[float]` Horizontal precision of location. - `precision_vert: Optional[float]` Vertical precision of location. - `size: Optional[float]` Size of location in meters. - `proxied: Optional[bool]` Whether the record is receiving the performance and security benefits of Cloudflare. - `settings: Optional[Settings]` Settings for the DNS record. - `ipv4_only: Optional[bool]` When enabled, only A records will be generated, and AAAA records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `ipv6_only: Optional[bool]` When enabled, only AAAA records will be generated, and A records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `tags: Optional[List[RecordTags]]` Custom tags for the DNS record. This field has no effect on DNS responses. - `class NAPTRRecord: …` - `name: str` Complete DNS record name, including the zone name, in Punycode. - `ttl: TTL` Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. - `type: Literal["NAPTR"]` Record type. - `"NAPTR"` - `comment: Optional[str]` Comments or notes about the DNS record. This field has no effect on DNS responses. - `content: Optional[str]` Formatted NAPTR content. See 'data' to set NAPTR properties. - `data: Optional[Data]` Components of a NAPTR record. - `flags: Optional[str]` Flags. - `order: Optional[float]` Order. - `preference: Optional[float]` Preference. - `regex: Optional[str]` Regex. - `replacement: Optional[str]` Replacement. - `service: Optional[str]` Service. - `proxied: Optional[bool]` Whether the record is receiving the performance and security benefits of Cloudflare. - `settings: Optional[Settings]` Settings for the DNS record. - `ipv4_only: Optional[bool]` When enabled, only A records will be generated, and AAAA records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `ipv6_only: Optional[bool]` When enabled, only AAAA records will be generated, and A records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `tags: Optional[List[RecordTags]]` Custom tags for the DNS record. This field has no effect on DNS responses. - `class SMIMEARecord: …` - `name: str` Complete DNS record name, including the zone name, in Punycode. - `ttl: TTL` Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. - `type: Literal["SMIMEA"]` Record type. - `"SMIMEA"` - `comment: Optional[str]` Comments or notes about the DNS record. This field has no effect on DNS responses. - `content: Optional[str]` Formatted SMIMEA content. See 'data' to set SMIMEA properties. - `data: Optional[Data]` Components of a SMIMEA record. - `certificate: Optional[str]` Certificate. - `matching_type: Optional[float]` Matching Type. - `selector: Optional[float]` Selector. - `usage: Optional[float]` Usage. - `proxied: Optional[bool]` Whether the record is receiving the performance and security benefits of Cloudflare. - `settings: Optional[Settings]` Settings for the DNS record. - `ipv4_only: Optional[bool]` When enabled, only A records will be generated, and AAAA records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `ipv6_only: Optional[bool]` When enabled, only AAAA records will be generated, and A records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `tags: Optional[List[RecordTags]]` Custom tags for the DNS record. This field has no effect on DNS responses. - `class SRVRecord: …` - `name: str` Complete DNS record name, including the zone name, in Punycode. - `ttl: TTL` Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. - `type: Literal["SRV"]` Record type. - `"SRV"` - `comment: Optional[str]` Comments or notes about the DNS record. This field has no effect on DNS responses. - `content: Optional[str]` Priority, weight, port, and SRV target. See 'data' for setting the individual component values. - `data: Optional[Data]` Components of a SRV record. - `port: Optional[float]` The port of the service. - `priority: Optional[float]` Required for MX and URI records; ignored for other record types (but may still be returned by the API). Records with lower priorities are preferred. This field is to be deprecated in favor of the priority field within the data map. - `target: Optional[str]` A valid hostname. - `weight: Optional[float]` The record weight. - `proxied: Optional[bool]` Whether the record is receiving the performance and security benefits of Cloudflare. - `settings: Optional[Settings]` Settings for the DNS record. - `ipv4_only: Optional[bool]` When enabled, only A records will be generated, and AAAA records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `ipv6_only: Optional[bool]` When enabled, only AAAA records will be generated, and A records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `tags: Optional[List[RecordTags]]` Custom tags for the DNS record. This field has no effect on DNS responses. - `class SSHFPRecord: …` - `name: str` Complete DNS record name, including the zone name, in Punycode. - `ttl: TTL` Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. - `type: Literal["SSHFP"]` Record type. - `"SSHFP"` - `comment: Optional[str]` Comments or notes about the DNS record. This field has no effect on DNS responses. - `content: Optional[str]` Formatted SSHFP content. See 'data' to set SSHFP properties. - `data: Optional[Data]` Components of a SSHFP record. - `algorithm: Optional[float]` Algorithm. - `fingerprint: Optional[str]` Fingerprint. - `type: Optional[float]` Type. - `proxied: Optional[bool]` Whether the record is receiving the performance and security benefits of Cloudflare. - `settings: Optional[Settings]` Settings for the DNS record. - `ipv4_only: Optional[bool]` When enabled, only A records will be generated, and AAAA records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `ipv6_only: Optional[bool]` When enabled, only AAAA records will be generated, and A records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `tags: Optional[List[RecordTags]]` Custom tags for the DNS record. This field has no effect on DNS responses. - `class SVCBRecord: …` - `name: str` Complete DNS record name, including the zone name, in Punycode. - `ttl: TTL` Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. - `type: Literal["SVCB"]` Record type. - `"SVCB"` - `comment: Optional[str]` Comments or notes about the DNS record. This field has no effect on DNS responses. - `content: Optional[str]` Formatted SVCB content. See 'data' to set SVCB properties. - `data: Optional[Data]` Components of a SVCB record. - `priority: Optional[float]` Priority. - `target: Optional[str]` Target. - `value: Optional[str]` Value. - `proxied: Optional[bool]` Whether the record is receiving the performance and security benefits of Cloudflare. - `settings: Optional[Settings]` Settings for the DNS record. - `ipv4_only: Optional[bool]` When enabled, only A records will be generated, and AAAA records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `ipv6_only: Optional[bool]` When enabled, only AAAA records will be generated, and A records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `tags: Optional[List[RecordTags]]` Custom tags for the DNS record. This field has no effect on DNS responses. - `class TLSARecord: …` - `name: str` Complete DNS record name, including the zone name, in Punycode. - `ttl: TTL` Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. - `type: Literal["TLSA"]` Record type. - `"TLSA"` - `comment: Optional[str]` Comments or notes about the DNS record. This field has no effect on DNS responses. - `content: Optional[str]` Formatted TLSA content. See 'data' to set TLSA properties. - `data: Optional[Data]` Components of a TLSA record. - `certificate: Optional[str]` Certificate. - `matching_type: Optional[float]` Matching Type. - `selector: Optional[float]` Selector. - `usage: Optional[float]` Usage. - `proxied: Optional[bool]` Whether the record is receiving the performance and security benefits of Cloudflare. - `settings: Optional[Settings]` Settings for the DNS record. - `ipv4_only: Optional[bool]` When enabled, only A records will be generated, and AAAA records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `ipv6_only: Optional[bool]` When enabled, only AAAA records will be generated, and A records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `tags: Optional[List[RecordTags]]` Custom tags for the DNS record. This field has no effect on DNS responses. - `class URIRecord: …` - `name: str` Complete DNS record name, including the zone name, in Punycode. - `ttl: TTL` Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. - `type: Literal["URI"]` Record type. - `"URI"` - `comment: Optional[str]` Comments or notes about the DNS record. This field has no effect on DNS responses. - `content: Optional[str]` Formatted URI content. See 'data' to set URI properties. - `data: Optional[Data]` Components of a URI record. - `target: Optional[str]` The record content. - `weight: Optional[float]` The record weight. - `priority: Optional[float]` Required for MX and URI records; ignored for other record types (but may still be returned by the API). Records with lower priorities are preferred. This field is to be deprecated in favor of the priority field within the data map. - `proxied: Optional[bool]` Whether the record is receiving the performance and security benefits of Cloudflare. - `settings: Optional[Settings]` Settings for the DNS record. - `ipv4_only: Optional[bool]` When enabled, only A records will be generated, and AAAA records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `ipv6_only: Optional[bool]` When enabled, only AAAA records will be generated, and A records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `tags: Optional[List[RecordTags]]` Custom tags for the DNS record. This field has no effect on DNS responses. - `rejects: Optional[Iterable[Reject]]` - `id: str` Identifier. ### Returns - `class RecordScanReviewResponse: …` - `accepts: Optional[List[RecordResponse]]` - `class A: …` - `id: str` Identifier. - `created_on: datetime` When the record was created. - `meta: object` Extra Cloudflare-specific information about the record. - `modified_on: datetime` When the record was last modified. - `proxiable: bool` Whether the record can be proxied by Cloudflare or not. - `comment_modified_on: Optional[datetime]` When the record comment was last modified. Omitted if there is no comment. - `tags_modified_on: Optional[datetime]` When the record tags were last modified. Omitted if there are no tags. - `class AAAA: …` - `id: str` Identifier. - `created_on: datetime` When the record was created. - `meta: object` Extra Cloudflare-specific information about the record. - `modified_on: datetime` When the record was last modified. - `proxiable: bool` Whether the record can be proxied by Cloudflare or not. - `comment_modified_on: Optional[datetime]` When the record comment was last modified. Omitted if there is no comment. - `tags_modified_on: Optional[datetime]` When the record tags were last modified. Omitted if there are no tags. - `class CNAME: …` - `id: str` Identifier. - `created_on: datetime` When the record was created. - `meta: object` Extra Cloudflare-specific information about the record. - `modified_on: datetime` When the record was last modified. - `proxiable: bool` Whether the record can be proxied by Cloudflare or not. - `comment_modified_on: Optional[datetime]` When the record comment was last modified. Omitted if there is no comment. - `tags_modified_on: Optional[datetime]` When the record tags were last modified. Omitted if there are no tags. - `class MX: …` - `id: str` Identifier. - `created_on: datetime` When the record was created. - `meta: object` Extra Cloudflare-specific information about the record. - `modified_on: datetime` When the record was last modified. - `proxiable: bool` Whether the record can be proxied by Cloudflare or not. - `comment_modified_on: Optional[datetime]` When the record comment was last modified. Omitted if there is no comment. - `tags_modified_on: Optional[datetime]` When the record tags were last modified. Omitted if there are no tags. - `class NS: …` - `id: str` Identifier. - `created_on: datetime` When the record was created. - `meta: object` Extra Cloudflare-specific information about the record. - `modified_on: datetime` When the record was last modified. - `proxiable: bool` Whether the record can be proxied by Cloudflare or not. - `comment_modified_on: Optional[datetime]` When the record comment was last modified. Omitted if there is no comment. - `tags_modified_on: Optional[datetime]` When the record tags were last modified. Omitted if there are no tags. - `class Openpgpkey: …` - `id: str` Identifier. - `comment: str` Comments or notes about the DNS record. This field has no effect on DNS responses. - `content: str` A single Base64-encoded OpenPGP Transferable Public Key (RFC 4880 Section 11.1) - `created_on: datetime` When the record was created. - `meta: object` Extra Cloudflare-specific information about the record. - `modified_on: datetime` When the record was last modified. - `name: str` Complete DNS record name, including the zone name, in Punycode. - `proxiable: bool` Whether the record can be proxied by Cloudflare or not. - `proxied: bool` Whether the record is receiving the performance and security benefits of Cloudflare. - `settings: OpenpgpkeySettings` Settings for the DNS record. - `ipv4_only: Optional[bool]` When enabled, only A records will be generated, and AAAA records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `ipv6_only: Optional[bool]` When enabled, only AAAA records will be generated, and A records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6. - `tags: List[RecordTags]` Custom tags for the DNS record. This field has no effect on DNS responses. - `ttl: TTL` Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. - `float` - `Literal[1]` Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones. - `1` - `type: Literal["OPENPGPKEY"]` Record type. - `"OPENPGPKEY"` - `comment_modified_on: Optional[datetime]` When the record comment was last modified. Omitted if there is no comment. - `tags_modified_on: Optional[datetime]` When the record tags were last modified. Omitted if there are no tags. - `class PTR: …` - `id: str` Identifier. - `created_on: datetime` When the record was created. - `meta: object` Extra Cloudflare-specific information about the record. - `modified_on: datetime` When the record was last modified. - `proxiable: bool` Whether the record can be proxied by Cloudflare or not. - `comment_modified_on: Optional[datetime]` When the record comment was last modified. Omitted if there is no comment. - `tags_modified_on: Optional[datetime]` When the record tags were last modified. Omitted if there are no tags. - `class TXT: …` - `id: str` Identifier. - `created_on: datetime` When the record was created. - `meta: object` Extra Cloudflare-specific information about the record. - `modified_on: datetime` When the record was last modified. - `proxiable: bool` Whether the record can be proxied by Cloudflare or not. - `comment_modified_on: Optional[datetime]` When the record comment was last modified. Omitted if there is no comment. - `tags_modified_on: Optional[datetime]` When the record tags were last modified. Omitted if there are no tags. - `class CAA: …` - `id: str` Identifier. - `created_on: datetime` When the record was created. - `meta: object` Extra Cloudflare-specific information about the record. - `modified_on: datetime` When the record was last modified. - `proxiable: bool` Whether the record can be proxied by Cloudflare or not. - `comment_modified_on: Optional[datetime]` When the record comment was last modified. Omitted if there is no comment. - `tags_modified_on: Optional[datetime]` When the record tags were last modified. Omitted if there are no tags. - `class CERT: …` - `id: str` Identifier. - `created_on: datetime` When the record was created. - `meta: object` Extra Cloudflare-specific information about the record. - `modified_on: datetime` When the record was last modified. - `proxiable: bool` Whether the record can be proxied by Cloudflare or not. - `comment_modified_on: Optional[datetime]` When the record comment was last modified. Omitted if there is no comment. - `tags_modified_on: Optional[datetime]` When the record tags were last modified. Omitted if there are no tags. - `class DNSKEY: …` - `id: str` Identifier. - `created_on: datetime` When the record was created. - `meta: object` Extra Cloudflare-specific information about the record. - `modified_on: datetime` When the record was last modified. - `proxiable: bool` Whether the record can be proxied by Cloudflare or not. - `comment_modified_on: Optional[datetime]` When the record comment was last modified. Omitted if there is no comment. - `tags_modified_on: Optional[datetime]` When the record tags were last modified. Omitted if there are no tags. - `class DS: …` - `id: str` Identifier. - `created_on: datetime` When the record was created. - `meta: object` Extra Cloudflare-specific information about the record. - `modified_on: datetime` When the record was last modified. - `proxiable: bool` Whether the record can be proxied by Cloudflare or not. - `comment_modified_on: Optional[datetime]` When the record comment was last modified. Omitted if there is no comment. - `tags_modified_on: Optional[datetime]` When the record tags were last modified. Omitted if there are no tags. - `class HTTPS: …` - `id: str` Identifier. - `created_on: datetime` When the record was created. - `meta: object` Extra Cloudflare-specific information about the record. - `modified_on: datetime` When the record was last modified. - `proxiable: bool` Whether the record can be proxied by Cloudflare or not. - `comment_modified_on: Optional[datetime]` When the record comment was last modified. Omitted if there is no comment. - `tags_modified_on: Optional[datetime]` When the record tags were last modified. Omitted if there are no tags. - `class LOC: …` - `id: str` Identifier. - `created_on: datetime` When the record was created. - `meta: object` Extra Cloudflare-specific information about the record. - `modified_on: datetime` When the record was last modified. - `proxiable: bool` Whether the record can be proxied by Cloudflare or not. - `comment_modified_on: Optional[datetime]` When the record comment was last modified. Omitted if there is no comment. - `tags_modified_on: Optional[datetime]` When the record tags were last modified. Omitted if there are no tags. - `class NAPTR: …` - `id: str` Identifier. - `created_on: datetime` When the record was created. - `meta: object` Extra Cloudflare-specific information about the record. - `modified_on: datetime` When the record was last modified. - `proxiable: bool` Whether the record can be proxied by Cloudflare or not. - `comment_modified_on: Optional[datetime]` When the record comment was last modified. Omitted if there is no comment. - `tags_modified_on: Optional[datetime]` When the record tags were last modified. Omitted if there are no tags. - `class SMIMEA: …` - `id: str` Identifier. - `created_on: datetime` When the record was created. - `meta: object` Extra Cloudflare-specific information about the record. - `modified_on: datetime` When the record was last modified. - `proxiable: bool` Whether the record can be proxied by Cloudflare or not. - `comment_modified_on: Optional[datetime]` When the record comment was last modified. Omitted if there is no comment. - `tags_modified_on: Optional[datetime]` When the record tags were last modified. Omitted if there are no tags. - `class SRV: …` - `id: str` Identifier. - `created_on: datetime` When the record was created. - `meta: object` Extra Cloudflare-specific information about the record. - `modified_on: datetime` When the record was last modified. - `proxiable: bool` Whether the record can be proxied by Cloudflare or not. - `comment_modified_on: Optional[datetime]` When the record comment was last modified. Omitted if there is no comment. - `tags_modified_on: Optional[datetime]` When the record tags were last modified. Omitted if there are no tags. - `class SSHFP: …` - `id: str` Identifier. - `created_on: datetime` When the record was created. - `meta: object` Extra Cloudflare-specific information about the record. - `modified_on: datetime` When the record was last modified. - `proxiable: bool` Whether the record can be proxied by Cloudflare or not. - `comment_modified_on: Optional[datetime]` When the record comment was last modified. Omitted if there is no comment. - `tags_modified_on: Optional[datetime]` When the record tags were last modified. Omitted if there are no tags. - `class SVCB: …` - `id: str` Identifier. - `created_on: datetime` When the record was created. - `meta: object` Extra Cloudflare-specific information about the record. - `modified_on: datetime` When the record was last modified. - `proxiable: bool` Whether the record can be proxied by Cloudflare or not. - `comment_modified_on: Optional[datetime]` When the record comment was last modified. Omitted if there is no comment. - `tags_modified_on: Optional[datetime]` When the record tags were last modified. Omitted if there are no tags. - `class TLSA: …` - `id: str` Identifier. - `created_on: datetime` When the record was created. - `meta: object` Extra Cloudflare-specific information about the record. - `modified_on: datetime` When the record was last modified. - `proxiable: bool` Whether the record can be proxied by Cloudflare or not. - `comment_modified_on: Optional[datetime]` When the record comment was last modified. Omitted if there is no comment. - `tags_modified_on: Optional[datetime]` When the record tags were last modified. Omitted if there are no tags. - `class URI: …` - `id: str` Identifier. - `created_on: datetime` When the record was created. - `meta: object` Extra Cloudflare-specific information about the record. - `modified_on: datetime` When the record was last modified. - `proxiable: bool` Whether the record can be proxied by Cloudflare or not. - `comment_modified_on: Optional[datetime]` When the record comment was last modified. Omitted if there is no comment. - `tags_modified_on: Optional[datetime]` When the record tags were last modified. Omitted if there are no tags. - `rejects: Optional[List[str]]` ### Example ```python import os from cloudflare import Cloudflare client = Cloudflare( api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted ) response = client.dns.records.scan_review( zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) print(response.accepts) ``` #### Response ```json { "errors": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "messages": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "success": true, "result": { "accepts": [ { "name": "example.com", "ttl": 3600, "type": "A", "comment": "Domain verification record", "content": "198.51.100.4", "private_routing": true, "proxied": true, "settings": { "ipv4_only": true, "ipv6_only": true }, "tags": [ "owner:dns-team" ], "id": "023e105f4ecef8ad9ca31a8372d0c353", "created_on": "2014-01-01T05:20:00.12345Z", "meta": {}, "modified_on": "2014-01-01T05:20:00.12345Z", "proxiable": true, "comment_modified_on": "2024-01-01T05:20:00.12345Z", "tags_modified_on": "2025-01-01T05:20:00.12345Z" } ], "rejects": [ "023e105f4ecef8ad9ca31a8372d0c353" ] } } ```