adddnsprofile

Use this method to creates a DNS profile. These DNS profiles can be associated with DNS/DNS-TCP LB vservers ,ADNS/ADNS-TCP services , end resolvers and with DNS actions. DNS profiles dictate the caching and logging behavior for a DNS transaction.

Syntax



Parameters

dnsprofilename

Name of the DNS profile.
This is mandatory parameter.

recursiveresolution

DNS recursive resolution; if enabled, will do recursive resolution for DNS query when the profile is associated with ADNS service, CS Vserver and DNS action
Default value = DISABLED.

dnsquerylogging

DNS query logging; if enabled, DNS query information such as DNS query id, DNS query flags , DNS domain name and DNS query type will be logged
Default value = DISABLED.

dnsanswerseclogging

DNS answer section; if enabled, answer section in the response will be logged.
Default value = DISABLED.

dnsextendedlogging

DNS extended logging; if enabled, authority and additional section in the response will be logged.
Default value = DISABLED.

dnserrorlogging

DNS error logging; if enabled, whenever error is encountered in DNS module reason for the error will be logged.
Default value = DISABLED.

cacherecords

Cache resource records in the DNS cache. Applies to resource records obtained through proxy configurations only. End resolver and forwarder configurations always cache records in the DNS cache, and you cannot disable this behavior. When you disable record caching, the appliance stops caching server responses. However, cached records are not flushed. The appliance does not serve requests from the cache until record caching is enabled again.
Default value = ENABLED.

cachenegativeresponses

Cache negative responses in the DNS cache. When disabled, the appliance stops caching negative responses except referral records. This applies to all configurations - proxy, end resolver, and forwarder. However, cached responses are not flushed. The appliance does not serve negative responses from the cache until this parameter is enabled again.
Default value = ENABLED.

dropmultiqueryrequest

Drop the DNS requests containing multiple queries. When enabled, DNS requests containing multiple queries will be dropped. In case of proxy configuration by default the DNS request containing multiple queries is forwarded to the backend and in case of ADNS and Resolver configuration NOCODE error response will be sent to the client.
Default value = DISABLED.

cacheecsresponses

Cache DNS responses with EDNS Client Subnet(ECS) option in the DNS cache. When disabled, the appliance stops caching responses with ECS option. This is relevant to proxy configuration. Enabling/disabling support of ECS option when Citrix ADC is authoritative for a GSLB domain is supported using a knob in GSLB vserver. In all other modes, ECS option is ignored.
Default value = DISABLED.

insertecs

Insert ECS Option on DNS query
Default value = DISABLED.

replaceecs

Replace ECS Option on DNS query
Default value = DISABLED.

maxcacheableecsprefixlength

The maximum ecs prefix length that will be cached
Default value = 32.
Minimum value = 0.
Maximum value = 32.

maxcacheableecsprefixlength6

The maximum ecs prefix length that will be cached for IPv6 subnets
Default value = 128.
Minimum value = 0.
Maximum value = 128.

Return Value

Returns simpleResult

See Also