CS FundamentalsHardGATE CS · Product company CS fundamentals

Which DNS name is queried for a reverse lookup of the IPv4 address 192.0.2.45, and what record type answers it?

  1. A. 192.0.2.45.in-addr.arpa, PTR
  2. B. 45.2.0.192.in-addr.arpa, PTR
  3. C. 45.2.0.192.in-addr.arpa, A
  4. D. 192.0.2.45.ip6.arpa, CNAME

Correct answer: B. 45.2.0.192.in-addr.arpa, PTR

Reverse names write the octets in reverse order under in-addr.arpa, so the most significant octet sits nearest the root, matching DNS's right-to-left hierarchy. The record that maps the name back to a host name is PTR.

More Computer Networks questions

Exams that ask this topic