Wednesday, October 08, 2014

Test host name resolution (python)


python -c 'import socket; print socket.getfqdn(), socket.gethostbyname(socket.
getfqdn())'
 

No comments: