f5.net.dns-resolver.modify

f5.net.dns-resolver.modify#

Modifies a dns-resolver.

Usage:

f5.net.dns-resolver.modify [options...] <fullPath>

Options:

Option

Description

-d <file>

File to read variables from

-s "VAR=VALUE"

Set a variable for template processing

-t <template>

Declaration template to use

Default template: restsh/modules/f5/templates/ltm/net.dns-resolver.json

Defaults are:

  • VAR_NAME=”dns-resolver-default”

  • VAR_PARTITION=”Common”

  • VAR_FULL_PATH=”/${VAR_PARTITION}/${VAR_NAME}”

  • VAR_FORWARD_ZONE=”.”

Example:

f5.net.dns-resolver.modify -s VAR_DNS1=10.1.1.1:53 -s VAR_DNS2=10.1.1.2:53 /Common/dns-resolver-example