Ta reguła sprawdza zdarzenia ostrzeżeń powiązane z problemami z rejestracją systemu DNS.
Aby wykonać te procedury, trzeba należeć do grupy Administratorzy lub mieć odpowiednie uprawnienia oddelegowane.
Usługę serwera DHCP można skonfigurować w taki sposób, aby konto było spersonifikowane do wykonywania rejestracji DNS. Do konfigurowania poświadczeń personifikacji można użyć narzędzia Netsh.exe.
Kliknij przycisk Start, kliknij polecenie Panel sterowania, a następnie kliknij aplet Konta użytkowników.
Kliknij aplet Zarządzanie kontami użytkowników.
Kliknij opcję Dodaj, a następnie postępuj według instrukcji, aby utworzyć nowe konto użytkownika.
Kliknij przycisk Start, w polu Rozpocznij wyszukiwanie wpisz polecenie cmd, a następnie naciśnij klawisz ENTER.
W wierszu polecenia wpisz polecenie netsh dhcp server set dnscredentials nazwa_użytkownika nazwa_domeny hasło (gdzie nazwa_użytkownika to nowo utworzone konto w poprzednim kroku), a następnie naciśnij klawisz ENTER.
Na serwerze DHCP kliknij polecenie Start, kliknij polecenie Uruchom, wpisz services.msc i na koniec kliknij przycisk OK.
Kliknij dwukrotnie opcję Serwer DHCP.
Kliknij opcję Zatrzymaj, poczekaj, aż pasek postępu dojdzie do końca, kliknij opcję Uruchom, poczekaj, aż pasek postępu dojdzie do końca, a następnie kliknij przycisk OK.
W menu Plik kliknij polecenie Zakończ.
Wpisz polecenie netsh dhcp server delete dnscredentials dhcpfullforce, a następnie naciśnij klawisz ENTER.
Na serwerze DHCP kliknij polecenie Start, kliknij polecenie Uruchom, wpisz services.msc i na koniec kliknij przycisk OK.
Kliknij dwukrotnie opcję Serwer DHCP.
Kliknij przycisk Uruchom, poczekaj, aż pasek postępu dojdzie do końca, a następnie kliknij przycisk OK.
W menu Plik kliknij polecenie Zakończ.
Target | Microsoft.Windows.DHCPServer.Library.IPv4Runtime | ||
Category | EventCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | Normal | ||
Remotable | True | ||
Alert Message |
| ||
Event Log | System |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Microsoft.Windows.DHCPServer.Library.ActionAccount |
GenerateAlert | WriteAction | System.Health.GenerateAlert | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectEvent | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishEventData | Default |
<Rule ID="Microsoft.Windows.DHCPServer.Library.IPv4Runtime.DNSRegistration.Warning.Rule" Enabled="true" Target="Microsoft.Windows.DHCPServer.Library.IPv4Runtime" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" RunAs="Microsoft.Windows.DHCPServer.Library.ActionAccount" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-DHCP-Server</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DHCPServer</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1055</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1056</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishEventData"/>
<WriteAction ID="GenerateAlert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.DHCPServer.Library.IPv4Runtime.UnitMonitor.DNSRegistration_AlertMessageResourceID"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
</WriteAction>
</WriteActions>
</Rule>