added domain querying
Merge pull request #3 from vivekmshah/domains

added domain querying