method
getaddress

getaddress(name)
public
Gets the IP address of name from the DNS resolver.
name can be a Resolv::DNS::Name or a String. Retrieved address will be a Resolv::IPv4 or Resolv::IPv6
getaddress(name)
public
Gets the IP address of name from the DNS resolver.
name can be a Resolv::DNS::Name or a String. Retrieved address will be a Resolv::IPv4 or Resolv::IPv6