You can use the function get-host-entry to find the address of a domain name or the domain name of an address. It can also used to find multiple addresses and aliases.
You can use get-socket-address, get-socket-peer-address and socket-stream-address and socket-stream-peer-address to find the IP address of opened sockets.
You can use get-default-local-ipv6-address to find the local default IPv6 address.
You can use get-ip-default-zone-id to find the local default zone ID.
LispWorks User Guide and Reference Manual - 20 Sep 2017