You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was a design-decision. Resolving IP-Addresses can sometimes be non-deterministic (round-robin DNS for example). And I wanted to keep the library free of any such things.
But I have to agree that it would be a nice convenience. And given that socket.gethostbyname('the.hostname') is essentially a no-op for IP-addresses I'm not opposed to adding it.
Should also be a fairly quick change to do as it's only a simple call to add.
In my test environment IP's might change so I prefer to use host names. Is there a way to get this working without extra layer on my side?
At the moment I am getting:
ValueError: 'server_name.mydomain.local' does not appear to be an IPv4 or IPv6 address
The text was updated successfully, but these errors were encountered: