Perform DNS Query Lookup

addr = net.hostbyname(name, [ppp], [clr])

Perform a DNS lookup for name.

Parameter Type Description
name string Name
ppp boolean Whether to use the PPP link
clr boolean Whether to clear the DNS entry before query