You can look up a DNS SRV record using command-line diagnostic tools available on most operating systems. By opening your terminal or command prompt, you can use specialized lookup utilities (such as nslookup in Windows or dig in Unix-based systems) by specifying the record type (e.g., specifying set type=SRV in nslookup) followed by the specific service query domain string to reveal target priority, weight, port, and hostname details.