Command/Response Keys
The currently defined command keywords are listed below. NOTE: Because the server and the features available will evolve with time, the HELP command should be used to obtain the most recent summary of implemented features, changes, or new commands.
Keyword Response
HELP This information.
VERSION "VERSION: <string>" where <string> will be different for
each version of the host table.
HNAME <hostname>
One or more matching host table entries.
HADDR <hostaddr>
One or more matching host table entries.
ALL The entire host table.
ALL-OLD The entire host table without domain style names.
DOMAINS The entire top-level domain table (domains only).
ALL-DOM Both the entire domain table and the host table.
ALL-INGWAY
All known gateways in TENEX/TOPS-20 INTERNET.GATEWAYS
format.
Remember that the server accepts only a single command line and returns only a single response before closing the connection. HNAME and HADDR are useful for looking up a specific host by name or address; VERSION can be used by automated processes to see whether a "new" version of the host table exists without having to transfer the whole table. Note, however, that the returned version string is only guaranteed to be unique to each version, and nothing should currently be assumed about its format.
Response Keys:
ERR entry not found, nature of error follows
NET entry found, rest of entry follows
GATEWAY entry found, rest of entry follows
HOST entry found, rest of entry follows
DOMAIN entry found, rest of entry follows
BEGIN followed by multiple entries
END done with BEGIN block of entries
More keywords will be added as new needs are recognized. A more detailed description of the allowed requests/responses follows.