The MicrosoftDNS_RootHints class describes the RootHints stored in a Cache file on a DNS Server. This class simplifies visualizing the containment of DNS objects, rather than representing a real object.
MicrosoftDNS_RootHints is a container for the resource records stored by the DNS Server in a Cache file. Every instance of the MicrosoftDNS_RootHints class must be assigned to exactly one DNS Server. It may be associated with multiple instances of the MicrosoftDNS_ResourceRecord class.
The following syntax is simplified from MOF code.
Syntax
class MicrosoftDNS_RootHints : MicrosoftDNS_Domain
{
};
Members
The MicrosoftDNS_RootHints class has these types of members:
Methods
The MicrosoftDNS_RootHints class has these methods.
| Method | Description |
|---|---|
| GetDistinguishedName | Retrieves the distinguished name for the zone. Qualifiers: Implemented |
| WriteBackRootHintDatafile | Writes the RootHints back to the DNS Cache file. 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
WriteBackRootHintDatafile Method of the MicrosoftDNS_RootHints Class
GetDistinguishedName Method of the MicrosoftDNS_RootHints 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.
