Cloudflare Docs
Logs
Visit Logs on GitHub
Set theme to dark (⇧+D)

DNS logs

The descriptions below detail the fields available for dns_logs.

FieldValueType
ColoCodeIATA airport code of data center that received the requeststring
EDNSSubnetEDNS Client Subnet (IPv4 or IPv6).
See here: https://developers.cloudflare.com/logs/reference/glossary#edns-client-subnet-ecs
string
EDNSSubnetLengthEDNS Client Subnet length.
See here: https://developers.cloudflare.com/logs/reference/glossary#edns-client-subnet-ecs
int
QueryNameName of the query that was sentstring
QueryTypeInteger value of query type.
See here: https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4
int
ResponseCachedWhether the response was cached or notbool
ResponseCodeInteger value of response code.
See here: https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-6
int
SourceIPIP address of the client (IPv4 or IPv6)string
TimestampTimestamp at which the query occurredint or string