title: Go : socket library to get hostname
body: <p>Is there any equivalent to python socket library in Go?
  <a href="https://docs.python.org/2/library/socket.html" rel="nofollow">https://docs.python.org/2/library/socket.html</a></p>
  
  <p>I want to do something like this in Go:</p>
  
  <pre><code>import socket
  ip = socket.gethostbyname(domain + ".multi.surbl.org")
  # Translate a host name to IPv4 address format.
  </code></pre>
  
  <p>What package can I use to do this in Go?</p>
  
  <p>Thanks!</p>