ICI Modules: net: gethostbyname Modules by name : by type Synopsis string = net.gethostbyname(string) Description Resolves the DNS name given in the string argument and returns a string containing the resulting IP address in dotted-decimal notation.
string = net.gethostbyname(string)
Resolves the DNS name given in the string argument and returns a string containing the resulting IP address in dotted-decimal notation.