get-dns-cache-prop

Syntax

tadm get-dns-cache-prop common_options --config=config_name 
(property_name)*

Description

Use this command to view the Domain Name Server (DNS) cache properties.

Options

For information about common_options, run the help command.

--config|-c

Specify the name of the configuration to view the DNS cache properties.

Operands

property-name

Specify the name of the property that you want to view (Optional).

You can view the following DNS cache properties:

enabled
max-age
max-entries

Example

tadm get-dns-cache-prop --user=admin --host=admin.example.com 
--password-file=./admin.passwd --port=8989 
--no-prompt --config=www.example.org max-age

Exit Codes

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.