The MicrosoftDNS_Cache class describes a cache existing on a DNS Server. This class simplifies visualizing the containment of DNS objects, rather than representing a real object. The MicrosoftDNS_Cache class is a container for the resource records cached by the DNS Server. Do not confuse this with a Cache file that contains root hints.
Every instance of the class MicrosoftDNS_Cache must be assigned to exactly one DNS Server. It may be associated with multiple instances of MicrosoftDNS_Domain or MicrosoftDNS_ResourceRecord classes.
The following syntax is simplified from MOF code.
Syntax
class MicrosoftDNS_Cache : MicrosoftDNS_Domain
{
};
Members
The MicrosoftDNS_Cache class has these types of members:
Methods
The MicrosoftDNS_Cache class has these methods.
| Method | Description |
|---|---|
| ClearCache | Clears the DNS Server cache of resource records. Qualifiers: Implemented |
| GetDistinguishedName | Retrieves the distinguished name for the zone. Qualifiers: Implemented |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | None supported |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Namespace | Root\MicrosoftDNS |
| MOF | Dnsprov.mof |
See also
ClearCache Method of the MicrosoftDNS_Cache Class
GetDistinguishedName Method of the MicrosoftDNS_Cache Class
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
