added the querying for the domain
Merge pull request #5 from vivekmshah/domain

added the querying for the domain