add validate for domain search.
Merge pull request #71 from forumbyr/master

add validate for domain search.