Revert "update on socket.getfqdn() issue"

This reverts commit 3b12c88acce3c2b32e47a635895c35259a0de26f.