check_dns: Use strchr instead of index
adding to THANKS