Home > Configuration > Domain Name Service > setdnsprofile_cacherecords

setdnsprofile_cacherecords

Use this method to set 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.

Syntax



Parameters

dnsprofilename

Name of the DNS profile.
This is mandatory parameter.

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.
Possible Values : ENABLED, DISABLED.

Return Value

Returns simpleResult

See Also