Table of Contents

What is a DNS Record?

About

A DNS record is a row in a DNS database.

Example

Example of a A record.

api                                 IN A      164.132.99.202

where:

If the apex domain is example.com, this entry will point the qualified domain name api.example.com to the ip 164.132.99.202

Syntax

A record is a text line.

<name> <ttl> <class> <type> <rdata>

Type

1)

Pointer

Pointer records that match a name to a destination:

Extended

Mail

There is also a TXT record for each of the following mail authentication mechanism.

Others

Query

A query is also known as a lookup. Check the lookup page to known how to perform a query.

Time To Live (TTL)

The Time To Live (TTL) of a DNS record is generally of 5 minutes.

If clients cache the results of host name lookups in order to achieve a performance improvement, they MUST observe the TTL information reported by DNS. Ref - DNS Spoofing 2)