adds lock on _get_domain, adds dict of domain IPs

Change-Id: Id3c78c202dad19643e81a194eb47bdec87b9da84
change lock logic on per tenant type

Change-Id: I6597c8ec67d00830b982dc0247ccd28cde276ae6