DNS Record Types | CompTIA Network+ Exam N10-007

DNS Record Types

Prev Question Next Question

Question

Which of the following are DNS record types? (Choose three.)

A.

CNAME B.

NTP C.

PTR D.

LDAP E.

DHCP F.

TTL G.

SRV H.

SSH.

ACG.

Explanations

Which of the following are DNS record types? (Choose three.)

A.

CNAME

B.

NTP

C.

PTR

D.

LDAP

E.

DHCP

F.

TTL

G.

SRV

H.

SSH.

ACG.

The three DNS (Domain Name System) record types are:

A. CNAME (Canonical Name record): It is used to create an alias for a domain name. It is often used when a website is hosted on multiple servers, and the same content needs to be accessed using multiple hostnames.

CNAME record maps one domain name to another domain name, for example:

alias.example.com CNAME example.com

This means that the domain name alias.example.com is an alias for the domain name example.com.

G. SRV (Service record): It is used to define the location of servers for specified services. It provides information about the hostname and port number for a specific service. SRV record is used for applications like Voice over IP (VoIP) and instant messaging.

An example of an SRV record is:

_sip._tcp.example.com. IN SRV 10 60 5060 sipserver.example.com.

This means that the domain example.com provides a SIP service, which can be accessed at the hostname sipserver.example.com on port 5060.

C. PTR (Pointer record): It is used to map an IP address to a hostname. It is used to perform reverse DNS lookups. Reverse DNS is the process of looking up the hostname associated with a given IP address.

An example of a PTR record is:

10.0.0.1.in-addr.arpa. IN PTR example.com.

This means that the IP address 10.0.0.1 is associated with the hostname example.com.

The other options mentioned in the question are not DNS record types:

B. NTP (Network Time Protocol) is a protocol used for time synchronization.

D. LDAP (Lightweight Directory Access Protocol) is a protocol used for accessing and maintaining distributed directory information services.

E. DHCP (Dynamic Host Configuration Protocol) is a protocol used to assign IP addresses to devices on a network.

F. TTL (Time to Live) is a parameter used in DNS to determine the length of time a DNS record should be cached.

H. SSH (Secure Shell) is a protocol used for secure remote login and file transfer over the network.