Microsoft Windows Server DNS 配置打开地址套接字

Microsoft.Windows.Server.DNS.Configuration.OpenSocketForAddress (Rule)

配置的警报生成规则。

Knowledge Base article:

摘要

DNS 服务器配置不仅包含用于确定 DNS 服务器将如何在网络上工作的设置,而且还可指定如何存储这些设置以及在需要它们时如何检索。

原因

DNS 服务器无法打开地址的套接字。

解决方案

更正服务器 IP 地址和接口

DNS 服务器配置为使用无效的网络接口。可以选择允许 DNS 服务器使用服务器上安装的所有网络接口,或者必须确认所选接口的地址正确。

要执行此过程,您必须拥有 Administrators 成员身份,或者您必须被委派了适当的权限。

若要更正配置给 DNS 服务器使用的 IP 地址,请执行以下操作:

1.在 DNS 服务器上,启动服务器管理器。若要启动服务器管理器,请依次单击“开始”、“管理工具”和“服务器管理器”。

2.在控制台树中,依次双击“角色”、“DNS Server”和“DNS”。

3.右键单击 DNS 服务器,然后单击“属性”。

4.在“接口”选项卡上,确保已选择所有 IP 地址,或者确定 IP 地址列表中的任何地址对服务器的网络接口是否无效。

5.清除无效地址旁的复选框,然后单击“确定”。

6.右键单击 DNS 服务器,单击“所有任务”,然后单击“重新启动”。

如果这是计算机上仅有的 IP 接口,则此错误可能不会导致重新启动 DNS 服务器。在这种情况下,请删除注册表的服务部分中的 DNS\Parameters\ListenAddress 值,然后重新启动 DNS Server 服务。

若要删除注册表中的 DNS\Parameters\ListenAddress 值,请执行以下操作:

警告:注册表编辑不当可能会严重损坏您的系统。更改注册表之前,您应备份任何有价值的数据。

1.在 DNS 服务器上,启动注册表编辑器。要启动注册表编辑器,请依次单击“开始”、“运行”,键入 regedit,然后单击“确定”。

2.在控制台树中,导航至以下注册表项:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Parameters

3.右键单击 ListAddresses,然后单击“删除”。

4.在服务器管理器中,右键单击 DNS 服务器,单击“所有任务”,然后单击“重新启动”。

如果此计算机的所有 IP 地址均有效,请确保当前没有运行任何其他可能尝试使用此域名系统 (DNS) 端口的应用程序(如第三方 DNS 服务器)。

外部

http://technet.microsoft.com/en-us/library/dd349681(v=ws.10).aspx

Element properties:

TargetMicrosoft.Windows.Server.DNS.Server
CategoryAlert
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
Windows DNS - 配置 - 打开地址套接字
事件 ID:{0}
事件源:{1}
事件日志:{2}

事件说明: {3}
Event LogDNS Server

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
Alert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.Windows.Server.DNS.Configuration.OpenSocketForAddress" Enabled="true" Target="Microsoft.Windows.Server.DNS.Server" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>DNS Server</LogName>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">408</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.Server.DNS.Configuration.OpenSocketForAddress.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDisplayNumber$</AlertParameter1>
<AlertParameter2>$Data/EventSourceName$</AlertParameter2>
<AlertParameter3>$Data/Channel$</AlertParameter3>
<AlertParameter4>$Data/EventDescription$</AlertParameter4>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/LoggingComputer$</SuppressionValue>
</Suppression>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>