Oracle® Traffic Director Command-Line Reference 11g Release 1 (11.1.1.7) Part Number E21037-03 |
|
|
PDF · Mobi · ePub |
tadm set-dns-cache-prop common_options --config=config_name (property_name=property_alue)+
Use this command to set the Domain Name Server (DNS) cache properties.
For information about common_options
, run the help command.
--config|-c
Specify the name of the configuration to set the DNS cache properties.
property-name=property-value
Specify name=value
pairs for one or more properties that you want to define. The name=value
pairs should be separated by spaces.
You can set the following DNS cache properties:
enabled
: Specifies whether the server should set DNS cache properties.
Values: true
, false
. Default: true
.
max-age
: Specifies the duration (in seconds) for which the entries must be kept in the cache.
Values: 1 to 31536000.
max-entries
: Specifies the maximum number of DNS lookup results to write to the cache.
Values: 32 to 32768.
To reset a property to its default value, do not provide a property value.
For example, property-name=<empty_string>
tadm set-dns-cache-prop --user=admin --host=admin.example.com --password-file=./admin.passwd --port=8989 --no-prompt --config=www.example.org max-age=3848 max-entries=45
The following exit values are returned:
0: command executed successfully
>0: error in executing the command
For more information about exit codes and syntax notations, run the help command.