dns-addRec¶
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.
Synopsis¶
add dns addRec <hostName> <IPAddress> ... [-TTL <secs>]
Arguments¶
hostName
Domain name.
IPAddress
One or more IPv4 addresses to assign to the domain name.
TTL
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 Citrix ADC 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
Example¶
Add dns addrec www.mynw.com 65.200.211.139 -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.
Synopsis¶
rm dns addRec <hostName> [-ecsSubnet <ip_addr[/prefix]|ipv6_addr[/prefix]>] [<IPAddress> ...]
Arguments¶
hostName
Domain name.
ecsSubnet
Subnet for which the cached address records need to be removed.
IPAddress
IPv4 address(es) of the address records to remove from the specified domain name.
Example¶
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.
Synopsis¶
show dns addRec [<hostName> | -type <type>]
Arguments¶
hostName
Domain name.
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
Output¶
IPAddress
IP addresses for the domain name.
ecsSubnet
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.
TTL
The time to live, in seconds.
vServerName
Vitual server name.
authType
Authentication type.
devno
count
stateflag