DNS: Records and Messages
Let's now get into what DNS records and messages look like.
We'll cover the following...
Resource Records
The DNS distributed database consists of entities called RRs, or Resource Records.
Format
RRs contain some or all of the following values:
- Name of the domain.
- Resource data (RDATA) provides information appropriate for the type of resource record.
- Type of the resource record. We will discuss these shortly.
- Time-to-live (TTL) is how long the record should be cached by the client in seconds.
- DNS Class. There a many types of classes but we’re mainly concerned with
IN
which