I'm looking for effective tools to monitor a large number of DNS records across various domains. Some of these domains are ours, but most belong to our customers. We need to keep track of all types of records with flexible notifications. Ideally, it should accept a CSV of records or scrape live DNS data. Our main focus is on tracking historical changes rather than just availability. It's crucial for us to be alerted if a client modifies a record without our knowledge, as this could disrupt functionality on our platform. Any recommendations for software or scripts that could help us achieve this?
2 Answers
For monitoring DNS records, I recommend using PRTG. It allows you to set filters against expected outputs for each DNS record, and if there's a change, you get an alarm notification. Plus, they offer a free trial, so it's worth checking out!
You could set up a simple script to check your DNS records. It can check MX, TXT, and CNAME records, create an MD5 hash, and compare it to previous results. If there's a change, you can set it to alert you. Just run a command like `dig +short $domain any` frequently to see if anything has changed.
Did you have ChatGPT write this? The MD5 check seems unnecessary. Just store the dig results and compare them as needed.
Thanks, this sounds good. I'll take a look.