python - gethostbyaddr Error only on 1 server -
running following on production server throws error
import socket socket.gethostbyaddr("<ip address>") traceback (most recent call last): file "<stdin>", line 1, in <module> socket.herror: [errno 1] unknown host
running same code, same ip on different server works fine. idea cause this?
Comments
Post a Comment