DNS Registrar Checker

14 August 2015

Tools

Security

I wrote a basic, hacked together Perl script to check domain registrar information and determine whether the DNS for your domain has been hijacked. I wrote the script a while ago in Perl and, since it works fine, I haven't bothered to change it.

There are a few key things to note:

You'll need to adjust some of the variables to fit your environment (e.g., domains, allowed IPs for DNS servers, etc.).

I recommend that this run on a server or something where you can schedule it via cron to run at regular intervals.

I recommend that you include administrative emails for notification that are not part of the domains this script monitors.

If possible, run this from a server that can utilize split DNS to avoid any potential issues if the admin domains are hijacked.