📄 dnsschema.mof
字号:
#pragma namespace ("\\\\.\\Root")
instance of __NameSpace
{
Name = "MicrosoftDNS" ;
} ;
#pragma namespace ( "\\\\.\\Root\\MicrosoftDNS" )
instance of __Win32Provider as $P
{
Name = "MS_NT_DNS_PROVIDER";
ClsId = "{62269fec-7b32-11d2-9ab7-0000f875c5d4}";
ImpersonationLevel = 3;
PerUserInitialization = "FALSE";
};
instance of __InstanceProviderRegistration
{
Provider = $P;
SupportsGet = "TRUE";
SupportsPut = "TRUE";
SupportsDelete = "TRUE";
SupportsEnumeration = "TRUE";
QuerySupportLevels = {"WQL:UnarySelect"};
};
instance of __MethodProviderRegistration
{
Provider = $P;
};
[Abstract, Description (
"The ManagedSystemElement class is the base class for the system element "
"hierarchy. Membership Criteria: Any distinguishable component of a "
"system is a candidate for inclusion in this class.<P>Examples: Software "
"components, such as files; and devices, such as disk drives and "
"controllers, and physical components such as chips and cards."):
ToSubClass,
Locale (0x409), UUID ("{8502C517-5FBB-11D2-AAC1-006008C78BC7}") ]
class CIM_ManagedSystemElement
{
[MaxLen (64): ToSubClass , Description (
"The Caption property is a short textual description (one-line string) "
"of the object."): ToSubClass , Read: ToSubClass]
string Caption ;
[Description (
"The Description property provides a textual description of the "
"object. "): ToSubClass , Read: ToSubClass]
string Description ;
[Description (
"A datetime value indicating when the object was installed. A lack of a "
"value does not indicate that the object is not installed."): ToSubClass ,
MappingStrings {"MIF.DMTF|ComponentID|001.5"}: ToSubClass , Read: ToSubClass]
datetime InstallDate ;
[Description (
"The Name property defines the label by which the object is known. When "
"subclassed, the Name property can be overridden to be a Key property."):
ToSubClass , Read: ToSubClass]
string Name ;
[Description ("A string indicating the current status of the object."):
ToSubClass, ValueMap {"OK", "Error", "Degraded", "Unknown"}: ToSubClass ,
Read: ToSubClass]
string Status ;
};
[Abstract, Description (
"The CIM_LogicalElement class is the base class for all the components "
"of the system that represent abstract system components.<P>Example: "
"Profiles, processes, or system capabilities in the form of logical "
"devices."): ToSubClass,
Locale (0x409), UUID ("{8502C518-5FBB-11D2-AAC1-006008C78BC7}") ]
class CIM_LogicalElement:CIM_ManagedSystemElement
{
};
[Abstract, Description (
"A logical element that contains the information necessary to represent "
"and manage the functionality provided by a Device and/or "
"SoftwareFeature. A Service is a general-purpose object to configure and "
"manage the implementation of functionality. It is not the functionality "
"itself."): ToSubClass,
Locale (0x409), UUID ("{8502C527-5FBB-11D2-AAC1-006008C78BC7}") ]
class CIM_Service:CIM_LogicalElement
{
[CIM_Key, Read: ToSubClass]
string CreationClassName ;
[Override ("Name"): ToSubClass , Key, Description (
"The Name property uniquely identifies the Service and provides an "
"indication of the functionality that is managed. This functionality is "
"described in more detail in the object's Description property. "):
ToSubClass , Read: ToSubClass]
string Name ;
[Description (
"StartMode is a string value indicating whether the Service is "
"automatically started by a System, Operating System, etc. or only "
"started upon request."): ToSubClass ,
ValueMap {"Automatic", "Manual"}: ToSubClass ,
Read: ToSubClass]
string StartMode ;
[Description (
"ServiceStarted is a boolean indicating whether the Service has been "
"started (TRUE), or stopped (FALSE)."): ToSubClass , Read: ToSubClass]
boolean Started ;
[Propagated ("CIM_System.CreationClassName"): ToSubClass, CIM_Key,
Description ("The type name of the system that hosts this service"):
ToSubClass , Read: ToSubClass]
string SystemCreationClassName ;
[Propagated ("CIM_System.Name"): ToSubClass, CIM_Key, Description (
"The name of the system that hosts this service"): ToSubClass , Read: ToSubClass]
string SystemName ;
[Description (
"The StartService method places the Service in the started state. It "
"returns an integer value of 0 if the Service was successfully started, "
"1 if the request is not supported and any other number to indicate an "
"error."): ToSubClass ]
uint32 StartService() ;
[Description (
"The StopService method places the Service in the stopped state. It "
"returns an integer value of 0 if the Service was successfully stopped, "
"1 if the request is not supported and any other number to indicate an "
"error."): ToSubClass ]
uint32 StopService() ;
};
[
Schema ("MicrosoftDNS"): ToSubClass ,
Description("This class describes a DNS server. Every instance "
"of this class may be associated with (or more intuitively 'may "
"contain') one instance of class MicrosoftDNS_Cache, one instance "
"of class MicrosoftDNS_RootHints and multiple instances of class "
"MicrosoftDNS_Zone."): ToSubClass ,
Dynamic, Provider("MS_NT_DNS_PROVIDER"),
Locale (0x409), UUID ("{3E9F9B09-AA43-11d2-85DD-0000F8102E5F}")
]
class MicrosoftDNS_Server : CIM_Service
{
[Override ("Name"): ToSubClass,
Read: ToSubClass,
Description("Indicates the Fully Qualified Domain Name or IP "
"address of the DNS server."): ToSubClass
]
string Name;
[Read: ToSubClass,
Description("Indicates the version of the DNS server."):
ToSubClass
]
uint32 Version;
[Read: ToSubClass, Write: ToSubClass,
Description("Indicates which policies are activated "
"in the Event Viewer system log. This property should be set to "
"specific values based on the following algorithm: "
"Every policy (to be activated in the Event Viewer system "
"log) is assigned a specific value: Query - 1, Notify - 16, "
"Update - 32, Non-query transactions - 254, Questions - 256, "
"Answers - 512, Send - 4096, Receive - 8192, UDP - 16384, "
"TCP - 32768, All packets - 65535, "
"NT Directory Service write transaction - 65536, "
"NT Directory Service update transaction - 131072, "
"Full Packets - 16777216, and Write Through - 2147483648. The "
"sum of the values corresponding to all the policies to be "
"activated is indicated in this property."): ToSubClass,
Valuemap{"1", "16", "32", "254", "256", "512", "4096", "8192", "16384",
"32768", "65535", "65536", "131072", "16777216", "2147483648"}:ToSubClass,
Values{"Query", "Notify", "Update", "Non-query transactions", "Questions",
"Answers", "Send", "Receive", "UDP", "TCP", "All packets",
"NT Directory Service write transaction",
"NT Directory Service update transaction",
"Full Packets", "Write Through"}:ToSubClass
]
uint32 LogLevel;
[Read: ToSubClass, Write: ToSubClass,
Description("Indicates which events the DNS server records "
"in the Event Viewer system log."): ToSubClass ,
Valuemap {"0", "1", "2", "4"}: ToSubClass ,
Values {"None", "Log only errors", "Log only warnings and errors",
"Log all events"}: ToSubClass
]
uint16 EventLogLevel;
[Read: ToSubClass, Write: ToSubClass,
Description("Indicates the protocols over which "
"administrative RPC runs. This property should be set to specific "
"value based on the following algorithm: Every protocol to be used "
"in RPC is assigned a specific value: None: 0, TCP/IP: 1, Named "
"Pipes: 2, LPC: 4. The sum of the values corresponding to all "
"the protocols to be used in RPC is indicated in this property.")
: ToSubClass
]
sint32 RpcProtocol;
[Read: ToSubClass, Write: ToSubClass,
Description("Indicates the set of eligible characters "
"to be used in DNS names."): ToSubClass ,
Valuemap {"0", "1", "3"}: ToSubClass ,
Values {"Strict RFC (ANSI)", "Non RFC (ANSI)",
"Multibyte (UTF8)"}: ToSubClass
]
uint16 NameCheckFlag;
[Not_NULL, Read: ToSubClass, Write: ToSubClass,
Description("Indicates the maximum number of host records "
"returned in response to an address request. Values between "
"5 and 28 are valid."): ToSubClass
]
uint32 AddressAnswerLimit;
[Read: ToSubClass, Write: ToSubClass,
Description("Indicates the interval (in seconds) before "
"retrying a recursive lookup. If the RecursionRetry property "
"is undefined or zero, retries are made after three "
"seconds. Users are discouraged from altering this property. "
"However, there are some scenarios where the property "
"should be changed. One example is when the "
"DNS server contacts remote servers over a slow link, and "
"the DNS server is retrying BEFORE reception "
"of a response from the remote DNS. In this case, raising "
"the RecursionRetry timeout to be slightly longer than the "
"observed response time from the remote DNS would be "
"reasonable."): ToSubClass ,
Units("Seconds"): ToSubClass
]
uint32 RecursionRetry;
[Read: ToSubClass, Write: ToSubClass,
Description("Indicates the timeout (in seconds) before the "
"DNS server gives up recursive query. If the Recursion"
"Timeout property is undefined or zero, the DNS "
"server gives up after fifteen seconds. In general, the "
"fifteen-second timeout is sufficient to allow any "
"outstanding response to get back to the DNS server. Users "
"are discouraged from altering this property. One scenario "
"where the property should be changed is when the DNS server "
"contacts remote servers over a slow link, and the DNS server "
"is observed rejecting queries (with SERVER_FAILURE) before "
"responses are received. (Note, that client resolvers also "
"retry queries, so careful investigation is required to determine "
"that remote responses are really for the query that was timed "
"out.) In this case, raising the RecursionTimeout to be "
"slightly longer than the observed response time from the "
"remote DNS would be reasonable."): ToSubClass ,
Units("Seconds"): ToSubClass
]
uint32 RecursionTimeout;
[Read: ToSubClass, Write: ToSubClass,
Description("Indicates the interval (in seconds) to poll "
"the DS-integrated zones."): ToSubClass ,
Units("Seconds"): ToSubClass
]
uint32 DsPollingInterval;
[Read: ToSubClass, Write: ToSubClass,
Description("Indicates a maximum time (in seconds) a record of "
"a recursive name query may remain in the DNS server cache. "
"The DNS server deletes records from the cache when the value "
"of this entry expires, even if the value of the TTL field in "
"the record is greater. The default value of this property is "
"86,400 seconds (1 day)."): ToSubClass ,
Units("Seconds"): ToSubClass
]
uint32 MaxCacheTTL;
[Read: ToSubClass, Write: ToSubClass,
Description("Indicates how long (in seconds) a DNS server, "
"forwarding a query, will wait for resolution from the "
"forwarder, before attempting to resolve the query "
"itself. This value is meaningless if the forwarding server "
"is a Slave. To determine this, check the Slave boolean "
"property."): ToSubClass ,
Units("Seconds"): ToSubClass
]
uint32 ForwardTimeout;
[Read: ToSubClass, Write: ToSubClass,
Description("Indicates the port on which the DNS server "
"sends UDP queries to other servers. By default, the DNS "
"server sends queries on a socket bound to the "
"DNS port. Sometimes this situation is NOT desirable. The "
"most obvious case occurs when an admin firewalls off "
"the DNS port, to prevent outside access to the DNS server, "
"but still wants the server to be able to contact "
"Internet DNS servers to provide name resolution "
"for internal clients. This is also desirable if the DNS "
"server is supporting disjoint nets (if true, the "
"boolean property, DisjointNets, would be set to TRUE). "
"In these cases, setting the SendOnNonDnsPort property to "
"a non-zero value causes the DNS server to bind to an "
"arbitrary port for sending to remote DNS servers. If the "
"SendOnNonDnsPort value is set >1024, then the DNS server "
"will bind explicitly to the port value given. This is "
"useful when an admin wants to fix the port for "
"firewalling purposes."): ToSubClass
]
uint32 SendOnNonDnsPort;
[Read: ToSubClass, Write: ToSubClass,
Description("Indicates the DNS server's initialization method."):
ToSubClass ,
Values {"Uninitialized", "Boot from file", "Boot from registry",
"Boot from directory and registry"}: ToSubClass
]
uint16 BootMethod;
[Read: ToSubClass, Write: ToSubClass,
Description("This UInt32 indicates whether the DNS server "
"accepts dynamic update requests."): ToSubClass,
Values {"Do not allow dynamic updates", "Allow unsecure dynamic updates",
"Allow only secure dynamic updates"}: ToSubClass
]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -