Distributed Name Service (DNS) Management Programming Manual
INFO ALIAS Command
Using DNS in Programs: The DNS Commands
46958 Tandem Computers Incorporated 5–119
If information about multiple aliases is returned in a single response buffer, each
ZDNS-MAP-INFO-ALIAS-BR (and corresponding ZDNS-INFO-ALIAS-DR, if
requested) is enclosed in a standard SPI data list:
[ZSPI-TKN-DATALIST]
[ZDNS-MAP-INFO-ALIAS-BR] (first alias)
[ZDNS-MAP-INFO-ALIAS-DR] (first alias)
[ZSPI-TKN-RETCODE] = 0
[ZSPI-TKN-DATALIST]
[ZDNS-MAP-INFO-ALIAS-BR] (second alias)
[ZDNS-MAP-INFO-ALIAS-DR] (second alias)
[ZSPI-TKN-RETCODE] = 0
[ZSPI-TKN-CONTEXT] (if more responses are available)
If ZDNS-MAP-INFO-DNSOBJ-GROUP is supplied, one response is returned for
each group of which the named alias is found to be a member.
[ZSPI-TKN-DATALIST]
[ZDNS-MAP-INFO-GROUP-BR] (first group)
[ZSPI-TKN-RETCODE] = 0
[ZSPI-TKN-DATALIST]
[ZDNS-MAP-INFO-GROUP-BR] (second group)
[ZSPI-TKN-RETCODE] = 0
[ZSPI-TKN-CONTEXT] (if more responses are available)
If the alias is not a member of any group, the request is returned with ZSPI-TKN-
RETCODE = ZDNS-ERR-NOGROUPS.
The DNSCOM command “INFO ALIAS BOB_SMITH” passes ZDNS-MAP-INFO-
DNSOBJ-P as follows:
ZNAME = "BOB_SMITH "
ZDEFNODE = "* "
ZTYPE =
null
ZGROUP =
null
ZGROUPNODE =
null
For each BOB_SMITH found, the information about BOB is displayed.
If the DNSCOM command “INFO ALIAS BOB_SMITH, GROUPS” is entered,
DNSCOM proceeds as just described; in addition, DNSCOM makes additional
requests, passing ZDNS-MAP-INFO-DNSOBJ-GROUP with:
ZNAME = "BOB_SMITH "
ZDEFNODE =
definition node returned in original request