The ClearCache method clears the DNS Server cache of resource records.
Syntax
void ClearCache();
Parameters
This method has no parameters.
Return value
This method does not return a value.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | None supported |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| End of client support | None supported |
| End of server support | Windows Server 2003 R2 |
| Namespace | Root\MicrosoftDNS |
| MOF | Dnsprov.mof |
See also
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.
