NAME | Synopsis | Description | Options | Operands | Examples | Exit Status | See Also
set-dns-cache-prop <connect_options> [--echo|-e] [--no-prompt|-Q] [--verbose|-v] --config|-c name (propertyname=value)+
Use this command to edit the Domain Name Server (DNS) cache properties. The properties that you can edit are as follows:
enabled - Indicates whether the server caches the DNS lookup results. The default value is true.
max-age - The maximum amount of time (in seconds) to cache a DNS lookup result. The range of values is 1–31536000.
max-entries - The maximum number of DNS lookup results to cache. The range of values is 32–32768.
For connect_options description, see help(1).
Specify this option to print this command on the standard output before executing. This option also prints the default value for all the non-mandatory options that you do not provide in the command.
If you specify this option, wadm will not prompt you for passwords while executing this command. Use this option if you have defined all passwords in a password file and specified the file using the --password-file connect_option.
Specify this option to display a verbose output.
Specify the name of the configuration.
wadm set-dns-cache-prop --user=admin --host=serverhost --password-file=../admin.passwd --port=8989 --ssl=true --no-prompt --rcfile=null --config=config1 enabled=false max-entries=2048 max-age=240 |
The following exit values are returned:
command executed successfully
error in executing the command
NAME | Synopsis | Description | Options | Operands | Examples | Exit Status | See Also