How to monitor Duplicate DNS records

Saiyad Rahim 411 Reputation points
2022-09-12T23:02:26.3+00:00

Hi Team,

Does the SCOM DNS MP have any Rules or Monitor that can monitor and alert on Duplicate DNS Records being detected on a DNS Server?
We have had a critical Application crash due to duplicate records being created by the AG Listener.

Is it something that the Cluster MP can monitor or just the DNS MP can do?

Regards
SR

System Center Operations Manager
System Center Operations Manager
A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.
1,610 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Andrew Blumhardt 10,051 Reputation points Microsoft Employee
    2022-09-13T03:54:53.97+00:00

    I don't recall a duplicate record alert. You can search the rules and monitors after installing. You might try creating a custom alert. If not on the DNS/DC side, maybe on the application server.


  2. SChalakov 10,576 Reputation points MVP Volunteer Moderator
    2022-09-13T07:58:45.05+00:00

    Hi @Saiyad Rahim ,

    indeed the DNs MP does not offer this functionality - it does not check DNS for duplicate records. Still there is a solution for this - a PowerShell based monitor. This is what I would do.

    • First you need a good Powershell script for this. This one seems pretty soffisticated:

    FINDING DUPLICATE DNS ENTRIES USING POWERSHELL
    https://evotec.xyz/finding-duplicate-dns-entries-using-powershell/

    • Next, get the Powershell MP from CookDown's web site:

    PowerShell Authoring
    https://www.cookdown.com/scom-essentials/powershell-authoring

    • Integrate the script to create a PowerShell based monitor. The link to the MP contains also a video, in which you will find very detailed explaination on how to prepare the script for SCOM. I also wrote an article on Monitoring Users with Powershell and SCOM and it also contains detailed explaination on how to integrate a Powershell script into SCOM:

    Monitoring Active Directory User Account Expiration using SCOM and PowerShell (Step by Step Guide)
    https://www.pohn.ch/monitor-active-directory-user-account-expiration-using-scom-and-powershell-step-by-step-guide/?fbclid=IwAR27012clGBJDm679g0UHYQ8MmJxE1ZXleUAB22xkegjndx96qMj7JCsyHw

    Basically you need to figure out where to put those Property Bags and then return the values to SCOM.

    Hope I was able to help!

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
    Regards
    Stoyan Chalakov

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.