
7-12
MAX Administration Guide
Administering TCP/IP
Displaying DNS-related information
Editing the local DNS table
Use the terminal-server
dnstab
command to edit the local DNS table.You can use three
options are provided.
The Dnstab command, followed by a table entry number, displays the standard table header
and table entry followed by all IP addresses in the list up to the limit specified in the List Size
parameter in the Mod Config menu’s DNS profile. Also, if the List Attempt parameter
specifies No then unit cannot print a list. If you specify an invalid entry, the unit produces the
following warning:
ascend% dnstab entry 9
<#> parameter must be between 1 and 8
The Dnstab Edit command shows the current table and queries for an entry number. After
typing an entry the number is qualified and if it fails a warning is printed:
Enter item number (0), 0 to exit: 9
Entry # 9 does not exist and the table printout and prompt are
repeated.
Part of the query line is the previously edited entry number on editor’s startup. Typing a 0
causes the editor to exit.
Throughout the editor the current value (or previous value in case of the item number) of the
field is displayed as part of the entry prompt. By pressing Enter, instead of a new value, the
value remains unchanged and the displayed value is used. If the item entry is accepted the user
is prompted for the name of the entry. The current table entry name is shown as part of the
prompt.
In order to clear the entry, enter the name and press Space. Names must start with an alphabetic
character. Names can be local names or fully qualified names. If it is a local name then
Domain Name or Sec Domain Name (if the lookup with Domain Name fails) is added before
the name lookup. A periods at the end of names is ignored. (A side effect of this rule is that a
string that only includes a period is considered an empty string.) Names must be less than 256
characters. If a <Return> is typed without any preceding characters then the entry remains
unchanged. If no name string is present in this entry then the user does not get a chance to
enter the IP address for this entry. Name entries are cleared by entering a space character,
followed by <Return>. This also clears the IP address since no more name is present. The
user is again prompted for an entry number. If the name is accepted it is entered into the table
and the user is prompted for the IP address of the name that has just been entered.
The IP address of the current entry name is shown as part of the prompt. If you press Return,
the IP address entry remains unchanged and the user is prompted for the next entry number. If
Time of last
read
The time that the last read occurred.
Table 7-4. Output of the Show Dnstab command (continued)
Field
Description