Refactor check_connectivity_to_domain