Version 1.2.1.0 of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot.
Output Formats
For AI agents: a documentation index is available at /llms.txt; a markdown version of this page is available at /v1.2.1.0/docs/02-output-formats/index.md.
DNSServer.DebugLogParser can generate two types of output:
- A CSV data file containing all parsed entries
- Optional statistics files for daily aggregation
To see real-world examples of each output type, check the sample in this article.
CSV data file
Example output files:
- en-US (no details): WithComputerName, NoComputerName
- de-DE (no details): WithComputerName, NoComputerName
- de-DE (with details /
DetailsJSON populated for Packet detail blocks): WithComputerName, NoComputerName
The CSV data file contains all parsed log entries with the following columns:
DateTime: Date and time of the DNS query/responseThreadId: Internal DNS server thread identifierContext: Operation context (for example Packet, Event, Note, DSPoll, Init, Lookup, Recurse, Remote, Tombstone)PacketId: DNS packet identifierProtocol: UDP or TCPDirection:Rcv(received/query) orSnd(sent/response)ClientIP: Client IP addressXid: Transaction ID (hex)Type: Query or ResponseOpcode: Standard, Notify, Update, or UnknownFlagsHex: Query/response flags (hex)FlagsChar: Flags decoded (Authoritative, Truncated, RecursionDesired, RecursionAvailable)ResponseCode: NOERROR, NXDOMAIN, SERVFAIL, etc.QuestionType: DNS record type (A, AAAA, MX, PTR, etc.)QuestionName: Domain name queriedInformation: Additional information (for Event/Note/etc.; for Packet detail blocks, contains the TCP/UDP detail header line)Details: JSON data for Packet entries that include detail blocks (empty otherwise)ComputerName: Source server name (always present; empty if not specified)
Note: The ComputerName column is always included at the end of each record to ensure consistent output structure. This facilitates multi-server log consolidation scenarios.
Statistics files (optional)
Example output files:
- Context statistics: en-US (WithComputerName), en-US (NoComputerName), de-DE (WithComputerName), de-DE (NoComputerName)
- Packet statistics: en-US (WithComputerName), en-US (NoComputerName), de-DE (WithComputerName), de-DE (NoComputerName)
When statistics are generated, two separate files are created:
1) Context statistics (*_Statistic.csv)
Columns:
Date: Date (yyyy-MM-dd)Context: Context name (for example Packet, Event, Note)Count: Number of recordsComputerName: Source server name
2) Packet statistics (*_PacketStatistic.csv)
Columns:
Date: Date (yyyy-MM-dd)ClientIP: Client IP addressProtocol: UDP or TCPDirection:RcvorSndQuestionType: DNS record typeCount: Number of recordsComputerName: Source server name