These commands allow you to perform the following tasks: o Read commands from files o Write results to files o Control confidence levels or timeout values o Customize the display of timestamps and nicknames o Specify a preferred clearinghouse to examine an attribute's value o Specify a default entity name Use the do command or run @filename from inside DNSCP to read a file of commands. You can also create a dnscp initialization file if you want DECdns to execute a set of commands automatically when you start the control program. For Ultrix, this file is .dnscpinit and resides in your home directory. For OpenVMS, this file is dnscpinit. and resides in your login directory. You can include any of the following supplementary commands in your .dnscpinit file.
1 – confidence
These commands set and display the confidence level of clerk calls. Setting the confidence controls the accuracy level and cost of clerk calls. The value of the confidence can be one of the following: low, medium, or high. A low confidence level means the clerk obtains information from caches or the most convenient server. A medium level means the clerk obtains information directly from a server, and a high level means the clerk obtains information only at master replicas. The initial value is medium. SYNOPSIS SET DNSCP CONFIDENCE [=] value SHOW DNSCP CONFIDENCE
1.1 – example
The following command sets the confidence level of clerk calls to high. dns> set dnscp confidence high
2 – nickname
These commands control the format in which namespace nicknames are displayed in DNSCP. You can specify value as one of the following units: time, hex, timestamp, name, or default. The initial setting is the default value name. SYNOPSIS SET DNSCP NICKNAME DISPLAY [=] value SHOW DNSCP NICKNAME DISPLAY
2.1 – example
The following command sets the nickname to be displayed in the same way as its namespace creation timestamp (NSCTS) is displayed: dns> set dnscp nickname display timestamp
3 – preferred_clearinghouse
These commands enable you to specify a clearinghouse from which to read attribute values for entries stored in that clearinghouse. You cannot specify a preferred clearinghouse for any modifications. SYNOPSIS SET DNSCP PREFERRED CLEARINGHOUSE clearinghouse-name SHOW DNSCP PREFERRED CLEARINGHOUSE
3.1 – example
The following command sets the preferred clearinghouse to .paris_ch. dns> set dnscp preferred clearinghouse .paris_ch
4 – timeout
These commands set and display the length of time, in seconds, that the control program will wait for a clerk call to complete. You can use this command to increase the timeout value if you are having trouble with calls not completing. The SET DNSCP TIMEOUT command sets the value as either a number of seconds or the word default, which is 30 seconds for most operations. You can also use the value 0 to indicate the default value. SYNOPSIS SET DNSCP TIMEOUT [=] value SHOW DNSCP TIMEOUT
4.1 – example
The following command sets the timeout value to 60 seconds. dns> set dnscp timeout 60
5 – timestamp
These commands set and display the format of timestamps, which is useful for troubleshooting or if you need to discover the timestamp for a namespace. You can specify the value of the timestamp units as time, hex, or default. The initial setting is the default value time, a human-readable date and time. SYNOPSIS SET DNSCP TIMESTAMP DISPLAY [=] value SHOW DNSCP TIMESTAMP DISPLAY
5.1 – example
The following command causes the control program to display timestamps in hexadecimal notation: dns> set dnscp timestamp display hex