May 2019
Intermediate to advanced
478 pages
11h 21m
English
The DNS answer format consists of the same three fields that questions have; namely, a name followed by a 16-bit TYPE and a 16-bit CLASS. The answer format then has a 32-bit TTL field. This field specifies how many seconds the answer is allowed to be cached for. TTL is followed by a 16-bit length specifier, RDLENGTH, followed by data. The data is RDLENGTH long, and the data's interpretation is dependent upon the type specified by TYPE.
Visually, the answer format is shown in the following diagram:

Keep in mind that most DNS servers use name pointers in their answer names. This is because the DNS response will have already included ...
Read now
Unlock full access