This command modifies the DNS service configuration. For more information, see DNS-Based Virtual IP Distribution.
Usage
dns modify [--id ID] [--name NAME] [--vip IP] [--domain-suffix DOMAIN_SUFFIX] [--gateway GATEWAY_IP] [--enable|--disable] [--net-type NET-TYPE] [--subnet-cidr CIDR] [--vlan VLAN]
Options
| Specifies the DNS configuration to modify. |
| Changes the name of the DNS service configuration. |
| Changes the virtual IP address of the DNS service. DNS requests from your external DNS server must be delegated to this IP. |
| Specifies a suffix to append to domain names of each VIP pool. The suffix should complete each domain name to form a valid FQDN for DNS requests to target. For example, if you have two VIP pools pool1 and pool2, you can set the domain name domain1 on pool1 and domain name domain2 on pool2 and the domain suffix to .vastdata.ourcorp.com. Requests for domain1.vastdata.ourcorp.com will be distributed among the VIPs in pool1 while requests for domain2.vastdata.ourcorp.com will be distributed among the VIPs in pool2. |
| If the external DNS server doesn't reside on the same subnet as the DNS service IP address, include this option to specify the IP address of a gateway through which to connect to the DNS service. The gateway IP address must be on same subnet as the DNS service IP address. |
| Enable or disable the DNS service. |
| Specifies which interface listens for DNS service delegation requests:
|
| Specifies the IP subnet, in CIDR format, on which the DNS service IP address resides. In CIDR notation, the subnet is expressed as the number of bits of each IP address that represent the subnet address. For example, the subnet mask 255.255.0.0 is expressed as 16 in CIDR notation. Specify only the trailing CIDR decimal number that indicates the subnet mask. For example, if the DNS service IP is 192.0.2.3 and the CIDR subnet is 24, specify 24. |
| Specifies a VLAN. If your external DNS server is only exposed to a specific VLAN, include this option and specify the DNS server's VLAN to enable communication with the DNS service. |
Example
vcli: admin> dns modify --enable