adds find_domain method

Signed-off-by: Dan Johnson <drj3141@gmail.com>