Prepare for the CompTIA PenTest+ Exam. Enhance your skills with practice questions and detailed explanations. Ace your test and advance your cybersecurity career!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


What type of record provides information on services such as VoIP and instant messaging?

  1. A records

  2. MX records

  3. Service (SRV) records

  4. CNAME records

The correct answer is: Service (SRV) records

Service (SRV) records are crucial for directing specific types of traffic to the appropriate services within a domain's configuration. These records enable clients to discover services like Voice over IP (VoIP) and instant messaging, which require certain protocols to function correctly. An SRV record offers the necessary information, including the hostname of the server providing the service, the port number to connect to, and the priority and weight for load balancing among multiple servers. This structured information allows applications to interact with the correct services without needing to know the underlying details beforehand, ensuring efficient communication for services such as VoIP. Other types of DNS records serve different purposes; for example, A records provide IP address mappings to domain names, MX records designate mail servers for email delivery, and CNAME records create aliases for domain names. These do not contain the specific information needed for service discovery like SRV records do.