.\" Man page generated from reStructuredText .\" by the Docutils 0.22.4 manpage writer. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "NAMED-WIREFORMAT" "1" "2026-09-03" "9.21.26" "BIND 9" .SH NAME named-wireformat \- parse DNS wire format messages .SH SYNOPSIS .sp \fBnamed\-wireformat\fP [\fB\-b\fP] [\fB\-d\fP] [\fB\-h\fP] [\fB\-m\fP flag] [\fB\-p\fP] [\fB\-r\fP] [\fB\-s\fP] [\fB\-t\fP] [{filename}] .SH DESCRIPTION .sp \fBnamed\-wireformat\fP reads a DNS message in wire format, either in hexidecimal form or as raw data, from a file or from standard input, and translates it to text format to check whether it is formatted correctly. .SH OPTIONS .INDENT 0.0 .TP .B \-b Use best\-effort parsing. Errors in message content will be ignored, so long as the message itself can still be parsed as valid DNS wire data. .UNINDENT .INDENT 0.0 .TP .B \-d Read input as raw binary data instead of hexidecimal text. .UNINDENT .INDENT 0.0 .TP .B \-h Print out the help menu. .UNINDENT .INDENT 0.0 .TP .B \-m flag Turn on memory debugging flags. Possible flags are \fBusage\fP, \fBtrace\fP and \fBrecord\fP\&. .UNINDENT .INDENT 0.0 .TP .B \-p Preserve the order of records in the message, instead of sorting by name and type. .UNINDENT .INDENT 0.0 .TP .B \-r After parsing and displaying the input message, render it back to wire format, parse that, and display it again. This is used to confirm that parsing and rendering are idempotent. .UNINDENT .INDENT 0.0 .TP .B \-s Print memory statistics on shutdown. .UNINDENT .INDENT 0.0 .TP .B \-t Parse the input as a TCP DNS message, with a two\-byte length header. .UNINDENT .SH ARGUMENTS .INDENT 0.0 .TP .B filename If specified, the message to be parsed is read from this file. Otherwise, it is read from the standard input. .UNINDENT .SH SEE ALSO .sp \fBnamed\-rrchecker(8)\fP \%<#\:std-iscman-named-rrchecker>, BIND 9 Administrator Reference Manual. .SH Author Internet Systems Consortium .SH Copyright 2026, Internet Systems Consortium .\" End of generated man page.