DNS Logs
Last updated Sep 14, 2026
The descriptions below detail the fields available for dns_logs.
ColoCode
Type: string
IATA airport code of the data center that received the request.
EDNSSubnet
Type: string
IPv4 or IPv6 address information corresponding to the EDNS Client Subnet (ECS) forwarded by recursive resolvers. Not all resolvers send this information.
EDNSSubnetLength
Type: int
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.
QueryName
Type: string
Name of the query that was sent.
QueryType
Type: int
Integer value of query type. For more information refer to Query type ↗︎.
ResponseCached
Type: bool
Whether the response was cached or not.
ResponseCode
Type: int
Integer value of response code. For more information refer to Response code ↗︎.
SourceIP
Type: string
IP address of the client (IPv4 or IPv6).
Timestamp
Type: int or string
Timestamp at which the query occurred.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/logs/logpush/logpush-job/datasets/zone/dns_logs/#page","headline":"DNS Logs","description":"The descriptions below detail the fields available for dns_logs.","url":"https://developers.cloudflare.com/logs/logpush/logpush-job/datasets/zone/dns_logs/","inLanguage":"en","image":"https://developers.cloudflare.com/logs/logpush/logpush-job/datasets/zone/dns_logs/og.png?v=0b98f5c7499be2c2","dateModified":"2026-09-14","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: The descriptions below detail the fields available for firewall_events. title: Firewall Events image: https://developers.cloudflare.com/logs/logpush/logpush-job/datasets/zone/firewall_events/og.png?v=26b0ed8dff675816
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/logs/llms.txt
Use this file to discover all available pages before exploring further.
Docs