Use this command to view the Domain Name Server (DNS) properties. DNS associates a standard IP addresses (such as 18.104.22.168) with hostnames (such as www.sun.com). The properties that you can view are as follows:
enabled - Indicates whether the server does the DNS lookups. The default value is false.
async - Indicates whether the server uses its own asynchronous DNS resolver instead of the operating system's synchronous resolver. The default value is true.
timeout - The timeout (in seconds) for asynchronous DNS lookups. The range of values is 0.001–3600.
For connect_options description, see help(1).
Specify this option to print this command on the standard output before executing. Also, prints the default value for all the non-mandatory options that you have not provided 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 get-dns-prop --user=admin --password-file=admin.pwd --host=serverhost --port=8989 --config=config1 timeout
The following exit values are returned:
command executed successfully
error in executing the command