Cloudflare Enablement
Logs
Testing
Edit this page on GitHub
Set theme to dark (⇧+D)

DNS logs

The descriptions below detail the fields available for dns_logs.

Field Value Type
ColoCode IATA airport code of data center that received the request. string
EDNSSubnet IPv4 or IPv6 address information corresponding to the EDNS Client Subnet (ECS) forwarded by recursive resolvers. Not all resolvers send this information. string
EDNSSubnetLength Size of the EDNS Client Subnet (ECS) in bits. For example, if the last octet of an IPv4 address is omitted (192.0.2.x.), the subnet length will be 24. int
QueryName Name of the query that was sent. string
QueryType Integer value of query type. For more information refer to Query type . int
ResponseCached Whether the response was cached or not. bool
ResponseCode Integer value of response code. For more information refer to Response code . int
SourceIP IP address of the client (IPv4 or IPv6). string
Timestamp Timestamp at which the query occurred. int or string