IP Address « Network « Ruby






1.resolv useful for converting between hostnames and IP addresses
2.Get all the addresses associated with a hostname
3.turn IP addresses into hostnames using the getname method
4.To search for MX records you have to use the Resolv::DNS class