DNS SRV Records

Need new test, action, option? Post request here.
Post Reply
sysadmber
Posts: 50
Joined: Tue Dec 08, 2015 1:26 am

DNS SRV Records

Post by sysadmber »

Hi,

we recently had some problems with the Microsoft Key Management Server (KMS).

After everything runs again i found that there is a black spot in our monitoring.

I need the posibility to check for a DNS SRV Entry. nslookup looks like that:

nslookup -type=srv _vlmcs._tcp

_vlmcs._tcp.contoso.com SRV service location:
priority = 0
weight = 0
port = 1688
svr hostname = kms-server.contoso.com

I need the following checks

- does the dns record exist
- does is match the criteria (DNS Hostname and Port)
- is the number of records identically with the number given? E.g. you have 3 KMS Server, than the checks goes bad if there are more (a server which erroneously registers itself as kms server in DNS) or less (an entry disappeared due to an error).

I hope you can add this kind of tests in your program.

Regards
Post Reply