diff --git a/cylc/flow/hostuserutil.py b/cylc/flow/hostuserutil.py index 34e033b2d7b..8eadbdb574f 100644 --- a/cylc/flow/hostuserutil.py +++ b/cylc/flow/hostuserutil.py @@ -120,10 +120,11 @@ def _get_host_info(self, target=None): target = socket.getfqdn() if ( IS_MAC_OS - and target == ( + and target in { '1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.' - '0.0.0.0.0.0.ip6.arpa' - ) + '0.0.0.0.0.0.ip6.arpa', + '1.0.0.127.in-addr.arpa' + } ): # Python's socket bindings don't play nicely with mac os # so by default we get the above ip6.arpa address from