Closed kmille closed 1 year ago
fixed by 6baa55e07feae04f75be59ae9bb72e109601a15a
args, not working if dns resolves multiple ip addresses. Use socket.gethostbyname_ex
instead.
In [2]: socket.gethostbyname("www.fleaz.me")
Out[2]: '34.141.72.9'
In [4]: socket.gethostbyname_ex("www.fleaz.me")
Out[4]: ('hardcore-dubinsky-406505.netlify.com', [], ['34.141.72.9', '35.156.224.161'])
fixed