check_dns: Use strchr instead of index
adding to THANKS
Merge pull request #1164 from waja/github981