PROPHET/OS
NAME
resolve: looks in /system/config/net/hosts first, then asks
SYNOPSIS
resolve <name> [server]
DESCRIPTION
Looks in /system/config/net/hosts first, then asks.
A name without a dot gets the domain appended. The server comes from /system/config/net/resolver unless one is named on the line.
resolve gives the address and nothing else. Whoever wants to see the whole answer, with its record types and its time to live, uses dig.
EXAMPLE
$ resolve localhost localhost is 127.0.0.1 (known here)