200-901 · Question #655
Which DNS record type allows a reverse proxy to communicate to a backend component without specifying the port?
The correct answer is C. SRV. An SRV (Service) DNS record encodes both the hostname and port number of a service into the DNS record itself. A reverse proxy can query the SRV record and discover the backend's address and port without that port being hardcoded in its own configuration. CNAME (A) maps one…
Question
Which DNS record type allows a reverse proxy to communicate to a backend component without specifying the port?
Options
- ACNAME
- BAAAA
- CSRV
- DPTR
How the community answered
(49 responses)- A2% (1)
- B8% (4)
- C88% (43)
- D2% (1)
Explanation
An SRV (Service) DNS record encodes both the hostname and port number of a service into the DNS record itself. A reverse proxy can query the SRV record and discover the backend's address and port without that port being hardcoded in its own configuration. CNAME (A) maps one hostname to another but carries no port information. AAAA (B) maps a hostname to an IPv6 address but also carries no port. PTR (D) is used for reverse DNS lookups (IP to hostname) and carries no port information.
Topics
Community Discussion
No community discussion yet for this question.