import socket

print socket.getaddrinfo('www.xrschzs.com', 80)
print socket.gethostbyname('www.baidu.com')
print socket.gethostname()
print socket.gethostbyaddr('61.135.169.125')

585a4d9faccc69cfd97f40564d851961bdd36055
import socket

print socket.getaddrinfo('www.xrschzs.com', 80)
print socket.gethostbyname('www.baidu.com')
print socket.gethostname()
print socket.gethostbyaddr('61.135.169.125')
