Hello and welcome to DNS!
Go to file
bert hubert e6be1266cf split up tauth main, add a report hook 2020-05-18 23:40:48 +02:00
ext update markdeep, split up tdns, tauth, tres docs 2018-10-25 12:22:46 +02:00
tdns split up tauth main, add a report hook 2020-05-18 23:40:48 +02:00
.gitignore more .gitignore 2018-04-03 13:19:13 +02:00
.gitmodules rebase 2018-04-01 18:31:41 +02:00
.travis.yml fix travis check 2018-10-25 17:18:27 +02:00
LICENSE Create LICENSE 2018-03-28 19:34:07 +02:00
README.md thank Patrick 2018-11-02 21:11:31 +01:00
README.md.html tweaks, links 2018-03-29 11:24:54 +02:00
auth.md new content! 2018-10-17 13:27:00 +02:00
auth.md.html tweaks, links 2018-03-29 11:24:54 +02:00
basic.md typo (s/one if/one of/) 2019-03-04 09:20:01 +00:00
basic.md.html rebase 2018-04-01 18:31:41 +02:00
dnssec.md rebase 2018-04-01 18:31:41 +02:00
dnssec.md.html tweaks, links 2018-03-29 11:24:54 +02:00
meta.md rebase 2018-04-01 18:31:41 +02:00
meta.md.html tweaks, links 2018-03-29 11:24:54 +02:00
non-ietf.md tyop 2018-04-10 00:14:50 +02:00
non-ietf.md.html rebase 2018-04-01 18:31:41 +02:00
optional.md typo 2018-10-30 08:48:59 +01:00
optional.md.html tweaks, links 2018-03-29 11:24:54 +02:00
privacy.md rebase 2018-04-01 18:31:41 +02:00
privacy.md.html rebase 2018-04-01 18:31:41 +02:00
rare.md rebase 2018-04-01 18:31:41 +02:00
rare.md.html rebase 2018-04-01 18:31:41 +02:00
resolver.md fix typo in link (thanks Marco Davids) 2018-11-21 20:37:58 +01:00
resolver.md.html fix resolver link; add resolver html symlink 2018-03-29 19:20:12 +02:00
stub.md new content! 2018-10-17 13:27:00 +02:00
stub.md.html tweaks, links 2018-03-29 11:24:54 +02:00

README.md

            <meta charset="utf-8" emacsmode="-*- markdown -*-">
                        **A warm welcome to DNS**

Hello, and welcome to DNS!

This series of documents attempts to provide a correct introduction to the Domain Name System as of 2018. The original RFCs remain the authoritative source of normative text, but this document tries to make this venerable protocol more accessible, while maintaining full alignment with all relevant and useful RFCs.

This effort is developed cooperatively on GitHub, the repository can be found https://github.com/ahupowerdns/hello-dns/ and help is highly welcome! Feedback can also be sent to bert.hubert@powerdns.com or @PowerDNS_Bert.

Contributors so far include: Michał Kępień, Jan-Piet Mens, Andrew Babichev, Jacob Hoffman-Andrews, Peter van Dijk, Nathan Froyd, Gene McCulley, Charles-Henri Bruyand, jose nazario, Warren Kumari, Patrick Cloke, and Andrew Tunnell-Jones. Thanks!

Although we start from relatively basic principles, the reader is expected to know what IP addresses are, what a (stub) resolver is and what an authoritative server is supposed to do. When in doubt: authoritative servers 'host' DNS data, 'resolvers' look up things over at authoritative servers and clients run 'stub resolvers' to look things up over at resolvers. This document is aimed at developers, but may also be of aid for administrators.

DNS was originally written down in August 1979 in 'IEN 116', part of a parallel series of documents describing the Internet. IEN 116-era DNS is not compatible with today's DNS. In 1983, RFC 882 and 883 were released, describing a version of the DNS very similar but not quite interoperable with the one we have today.

DNS attained its modern form in 1987 when RFC 1034 and 1035 were published. Although much of 1034/1035 remains valid, these standards are not that easy to read because they were written in a very different time. There are 100s of pages of updates that can only be found in later documents.

The main goal of this effort is not to contradict the DNS RFCs but to provide an easier entrypoint into understanding the Domain Name System.

If you will, the goal is to be a mini "TCP/IP Illustrated" of DNS. For more about the philosophy of these documents, and how to contribute, please read meta.md. Your help & insights are highly welcome!

I want to thank Ólafur Guðmundsson and Job Snijders for their input and enthusiasm for improving the state of DNS.

Layout

The content is spread out over several documents:

We start off with a general introduction of DNS basics: what is a resource record, what is an RRSET, what is a zone, what is a zone-cut, how are packets laid out. This part is required reading for anyone ever wanting to query a nameserver or emit a valid response.

We then specialize into what applications can expect when they send questions to a resolver, or what a stub resolver can expect.

The next part is about what an authoritative server is supposed to do. On top of this, we describe in slightly less detail how a resolver could operate. Finally, there is a section on optional elements like EDNS, TSIG, Dynamic Updates and DNSSEC.

RFCs, especially earlier ones, tend to describe servers that perform both authoritative and resolver functions. This turns out to make both code and troubleshooting harder. Therefore, in these documents, the authoritative and caching functions are described separately.

Next up: DNS Basics.