Reverse DNS assigns hostnames to IP addresses. How is the name of the IP address 198.51.100.165 stored on a DNS server?
Reverse DNS assigns hostnames to IP addresses. How is the name of the IP address 198.51.100.165 stored on a DNS server?
In reverse DNS, the PTR (Pointer) record is used to map an IP address to a hostname. To store the hostname for the IP address 198.51.100.165, the IP address is reversed, and the domain in-addr.arpa is appended. Therefore, the correct answer is that the name of the IP address 198.51.100.165 is stored in the PTR record for 165.100.51.198.in-addr.arpa.
could anyone explain on this ?I dont know how u get this answer
From Cloudflare.com: A DNS pointer record (PTR for short) provides the domain name associated with an IP address. A DNS PTR record is exactly the opposite of the 'A' record, which provides the IP address associated with a domain name. DNS PTR records are used in reverse DNS lookups.
The PTR record is used for reverse lookup in DNS: starting from an IP address, the associated domain is obtained.
Is this really on the exam? I feel like this is not very Linux Focused. But yeah, IP and PTR go together