Implement getting IP address and hostname resolving