What is the command to get SRV records of the domain?

Document ID : KB000053048
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Other then nslookup command to find the DNS SRV record, there is now a command line utility from NSM that can capture this information.

Solution:

New command has been added in NSM r11.2 to obtain the DNS SRV record on the domain. This command is located in the following directory:

<drive>:\Program Files\CA\SC\CCS\DIA\dia\dna\bin\
   > getsrvinfo abc.com
   usage: getSRVInfo.bat <domain name> (optional for Linux/UNIX if a domain
   name entry is present in /etc/resolve.conf)

For previous releases, you could use the nslookup command to determine if the DIA SRV record has been set up in an environment. To verify that SRV records are set up in DNS, do the following:

    c:\>nslookup 
    >set type=SRV 
    >_grid._tcp 
    _grid._tcp.ca.com SRV service location: 
    priority = 2 
    weight = 0 port = 11503 svr hostname = MasterKB_Box1.ca.com

For guidance on setting up DIA in your DNS, see the "DIA Reference" appendix in the CA NSM Implementation Guide. You can find all documentation for this product at: https://support.ca.com/irj/portal/DocumentationResults?productID=130639&releaseID=ALL&languageID=ENU&actionID=2.