net/DNS

class DNS
extends:Object
static method newDNS
method init
static method resolve(hostname: String)HostInfo
Perform DNS lookup using the hostname. Returns information about the host that was found.
static method resolve~filter(hostname: String, socketType, socketFamily: Int)HostInfo
static method resolveOne(host: String)IPAddress
Perform DNS lookup using the hostname. Returns the first IPAddress found for the host.
static method resolveOne~filter(host: String, socketType, socketFamily: Int)IPAddress
static method reverse(ip: IPAddress)String
Perform a reverse DNS lookup by using the host’s address. Returns the hostname of the specified address.
static method reverse~withSockAddr(sockaddr: SocketAddress)String
static method hostnameString
Returns the hostname of this system.
static method localhostHostInfo
Retreive host information about this system.
class HostInfo
extends:Object
static method new(addrinfo: AddrInfo *)HostInfo
method init(addrinfo: AddrInfo *)
method addressesLinkedList<T>
Returns a list of IPAddress associated with this host.
nameString
addressesLinkedList<T>

This Page