Skip to Main Content
DNS on Windows 2000, Second Edition
book

DNS on Windows 2000, Second Edition

by Matt Larson, Cricket Liu
September 2001
Intermediate to advanced content levelIntermediate to advanced
352 pages
11h 1m
English
O'Reilly Media, Inc.
Content preview from DNS on Windows 2000, Second Edition

Appendix A.  DNS Message Format and Resource Records

This appendix outlines the format of DNS messages and enumerates all the resource record types. The resource records are shown in their textual format, as you would specify them in a zone data file, and in their binary format, as they appear in DNS messages. You’ll find a few resource records here that weren’t covered in the book because they are experimental or obsolete.

We’ve included the portions of RFC 1035, written by Paul Mockapetris, that deal with the textual format of master files (what we called zone data files in the book) or with the DNS message format (for those of you who need to parse DNS packets).

Master File Format

(From RFC 1035, pages 33-35)

The format of these files is a sequence of entries. Entries are predominantly line-oriented, though parentheses can be used to continue a list of items across a line boundary, and text literals can contain CRLF within the text. Any combination of tabs and spaces acts as a delimiter between the separate items that make up an entry. The end of any line in the master file can end with a comment. The comment starts with a semicolon (;).

The following entries are defined:

blank[comment]

$ORIGIN domain-name [comment]

$INCLUDE file-name [domain-name] [comment]

domain-namerr [comment]

blankrr [comment]

Blank lines, with or without comments, are allowed anywhere in the file.

Two control entries are defined: $ORIGIN and $INCLUDE. $ORIGIN is followed by a domain name and resets the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

DNS on Windows Server 2003, 3rd Edition

DNS on Windows Server 2003, 3rd Edition

Cricket Liu, Matt Larson, Robbie Allen
VMware vSphere Troubleshooting

VMware vSphere Troubleshooting

Muhammad Zeeshan Munir
Windows NT TCP/IP Network Administration

Windows NT TCP/IP Network Administration

Craig Hunt, Robert Bruce Thompson

Publisher Resources

ISBN: 0596002300Supplemental ContentCatalog PageErrata