Looks up a host by name or address. IPV6 determines the IPv6 behaviour, defaults to *IPV6*. Returns 4 values:
- an address
- a list of additional addresses(if existent)
- the canonical name of the host
- an alist of all the host's names with their respective addresses
If
addressis an inet-address designator, it is converted, if necessary, to aninet-addressobject and returned. Otherwise it is assumed to be a host name which is then looked up in order to return its primary address as the first return value and the remaining address list as the second return value.
Class precedence list:
resolver-error, condition, tSignaled when an error occurs while trying to resolve an address.
Return the datum that caused the signalling of a
resolver-errorcondition.
Class precedence list:
resolver-again-error, resolver-error, condition, tCondition signaled when a temporary failure occurred.
Class precedence list:
resolver-fail-error, resolver-error, condition, tCondition signaled when a non-recoverable error occurred.