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
address
is an inet-address designator, it is converted, if necessary, to aninet-address
object 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, t
Signaled when an error occurs while trying to resolve an address.
Return the datum that caused the signalling of a
resolver-error
condition.
Class precedence list:
resolver-again-error, resolver-error, condition, t
Condition signaled when a temporary failure occurred.
Class precedence list:
resolver-fail-error, resolver-error, condition, t
Condition signaled when a non-recoverable error occurred.