Distributed Name Service (DNS) Management Programming Manual

DNS Definitions
Common Definitions
4–14 46958 Tandem Computers Incorporated
DNS Structured Tokens The DNS programmatic interface uses structured tokens almost exclusively, even in
cases where the structure contains only one field. (A notable exception is that all
tokens appearing in error responses are simple tokens; these are described earlier in
this section.)
Token Structure Format
Most structured tokens have names with the following format:
ZDNS-MAP-
ccccc
-
ttttt
[ -
var
]
In this format,
ccccc
is an abbreviation of the command number listed in Table 4-8,
and
ttttt
is an abbreviation of the object type as listed in the same table.
Note that RESTORE uses the same parameters as COPY and STATUS uses the same
parameters as INFO; thus, these pairs share command abbreviations. LISTOPENS
uses INFO parameters, so there are no LISTOPEN definitions; since this command
applies only to ZDNS-OBJ-PROC, the parameter is ZDNS-MAP-INFO-PROC-P and
the response is ZDNS-CMD-LISTO-PROC-P.
In some cases of object types, ZDNS-OBJ-ALIAS, ZDNS-OBJ-COMP, ZDNS-OBJ-
DOM, and ZDNS-OBJ-GROUP use the same parameter and response tokens. In these
instances, the abbreviation DNSOBJ is used (as in, for example, ZDNS-MAP-DEL-
DNSOBJ).
ZDNS-OBJ-ATYPE and ZDNS-OBJ-CTYPE also share tokens in some cases. In these
instances, the abbreviation DNSTYPE is used (as in, for example, ZDNS-MAP-DEL-
DNSTYPE).