Forward + Reverse DNS Checker Bash Script

Given a host name it tests that all A and AAAA records have a corresponding reverse DNS lookup that points to the same host name. Useful for checking your mail server setup where these sorts of things might be important for getting mail delivered.

Download

forward_reverse_test.sh

Example Usage

./forward_reverse_test.sh mymailserver.example.com