What does a PTR (Pointer) record do?

Prepare for IT Technical Interviews with comprehensive flashcards and multiple choice questions. Unlock detailed explanations and hints for every question. Excel in your interviews!

Multiple Choice

What does a PTR (Pointer) record do?

Explanation:
PTR records are used for reverse DNS lookups: they map an IP address back to a domain name. In DNS you usually look up a domain to find its IP (forward mapping with A or AAAA records), but a PTR lookup does the opposite—given an IP, it reveals the associated hostname if a PTR exists in the reverse DNS zone. For IPv4, the lookup lives under the in-addr.arpa domain with the IP octets reversed; for IPv6, it's in the ip6.arpa domain with the address nibble-reversed. This is commonly used by mail servers and logging to verify who is connecting from a given IP. The other options describe forward name resolution, email routing records stored as MX, or DHCP-based IP assignment, which are not what PTR records accomplish.

PTR records are used for reverse DNS lookups: they map an IP address back to a domain name. In DNS you usually look up a domain to find its IP (forward mapping with A or AAAA records), but a PTR lookup does the opposite—given an IP, it reveals the associated hostname if a PTR exists in the reverse DNS zone. For IPv4, the lookup lives under the in-addr.arpa domain with the IP octets reversed; for IPv6, it's in the ip6.arpa domain with the address nibble-reversed. This is commonly used by mail servers and logging to verify who is connecting from a given IP. The other options describe forward name resolution, email routing records stored as MX, or DHCP-based IP assignment, which are not what PTR records accomplish.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy