The following operations can be performed on "dns addRec":
add dns addRec¶
Creates an IPv4 address record for the specified domain name. You cannot modify an address resource record.
add dns addRec <hostName> <IPAddress> ... [-TTL <secs>]
One or more IPv4 addresses to assign to the domain name.
Time to Live (TTL), in seconds, for the record. TTL is the time for which the record must be cached by DNS proxies. The specified TTL is applied to all the resource records that are of the same record type and belong to the specified domain name. For example, if you add an address record, with a TTL of 36000, to the domain name example.com, the TTLs of all the address records of example.com are changed to 36000. If the TTL is not specified, the NetScaler appliance uses either the DNS zone's minimum TTL or, if the SOA record is not available on the appliance, the default value of 3600.
Default value: 3600
Maximum value: 2147483647
Add dns addrec www.mynw.com 220.127.116.11 -ttl 10
rm dns addRec¶
Removes an IPv4 address from an address record. The associated domain name must be specified. For EDNS Client Subnet (ECS) records, a subnet needs to be specified to remove an IPV4 address from an address record which is cached for that particular subnet. If no IPv4 address is specified, all records that belong to the specified domain name are removed.
rm dns addRec <hostName> [-ecsSubnet <ip_addr[/prefix]|ipv6_addr[/prefix]>] [<IPAddress> ...]
Subnet for which the cached address records need to be removed.
IPv4 address(es) of the address records to remove from the specified domain name.
rm dns addrec www.mynw.com
show dns addRec¶
Displays the IPv4 address record for the specified host name. If a hostname is not specified, all configured address records are shown.
show dns addRec [<hostName> | -type <type>]
The address record type. The type can take 3 values:
ADNS - If this is specified, all of the authoritative address records will be displayed.
PROXY - If this is specified, all of the proxy address records will be displayed.
ALL - If this is specified, all of the address records will be displayed.
Possible values: ALL, ADNS, PROXY
IP addresses for the domain name.
Subnet for which this particular record is cached. Subnet caching will occur for responses with EDNS Client Subnet (ECS) option. Applies to resource records obtained through proxy configurations only.
The time to live, in seconds.
Vitual server name.