Automate Daily DNS Checks for Your Mail Server Records
This guide builds a small bash script that queries your live DNS once a day and compares the MX , A , and AAAA records it gets back against the values you declare in a config file. If they don't match, it emails you. That's all it does.













