sensu/sensu-community-plugins — pull request #286 by bclarkindy (2013-09-12 05:53:40+00:00)
Title: Modify check-dns.rb to correctly perform reverse lookups

Plugin was previously providing inaccurate results when attempting to perform reverse lookups (IP to name). Modified plugin so that if `PTR` is passed as type (-t, --type) and IP address is passed as domain (-d, --domain), underlying dig command will properly use -x option for reverse lookup.