File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -96,10 +96,6 @@ def __init__(
96
96
except Exception :
97
97
raise ConfigurationError (_INVALID_HOST_MSG % (fqdn ,)) from None
98
98
self .__slen = len (self .__plist )
99
- if fqdn == self ._resolve_uri (True )[0 ].target .to_text ():
100
- raise ConfigurationError (
101
- "Invalid SRV host: return address is identical to SRV hostname"
102
- )
103
99
104
100
async def get_options (self ) -> Optional [str ]:
105
101
from dns import resolver
Original file line number Diff line number Diff line change @@ -96,10 +96,6 @@ def __init__(
96
96
except Exception :
97
97
raise ConfigurationError (_INVALID_HOST_MSG % (fqdn ,)) from None
98
98
self .__slen = len (self .__plist )
99
- if fqdn == self ._resolve_uri (True )[0 ].target .to_text ():
100
- raise ConfigurationError (
101
- "Invalid SRV host: return address is identical to SRV hostname"
102
- )
103
99
104
100
def get_options (self ) -> Optional [str ]:
105
101
from dns import resolver
You can’t perform that action at this time.
0 commit comments