密钥 (dnsserversearchorder--------ipaddress-key) Key (microsoft-windows-dns-client-interfaces-interface-dnsserversearchorder-ipaddress-key)

Key 指定 IpAddress的唯一键。Key specifies a unique key for the IpAddress.

注意Note

  • 此元素不会出现在 Windows 系统映像管理器的 " 属性 " 窗格中 (windows SIM) ,除非你将 IpAddress 添加到答案文件中。This element does not appear in the Properties pane of Windows System Image Manager (Windows SIM) until you add IpAddress to the answer file.

  • 的值 Key 作为 IpAddress 元素的属性添加到答案文件中。The value for Key is added to the answer file as an attribute of the IpAddress element. 属性 wcm:keyValue 用于标识每个唯一的 IP 地址。The attribute wcm:keyValue is used to identify each unique IP Address. 例如,你可以使用项值1、2和3指定三个不同的 IP 地址。For example, you can specify three different IP addresses by using Key values of 1, 2, and 3.

Values

KeyKey

指定 IpAddress的唯一键。Specifies a unique key for the IpAddress. Key 是一个字符串。Key is a string.

父层次结构Parent Hierarchy

Microsoft-Windows-DNS-客户端 | 接口 | 接口 | DNSServerSearchOrder | IpAddress | Microsoft-Windows-DNS-Client | Interfaces | Interface | DNSServerSearchOrder | IpAddress | Key

有效的配置阶段Valid Configuration Passes

specializespecialize

适用于Applies To

有关此组件支持的 Windows 版本和体系结构的列表,请参阅 Microsoft-Windows-DNS-客户端For a list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-DNS-Client.

XML 示例XML Example

以下 XML 输出显示了 Fabrikam 的 DNS 域配置。The following XML output shows a DNS domain configuration for Fabrikam.

   <DNSDomain>fabrikam.com</DNSDomain>
   <DNSSuffixSearchOrder>
      <DomainName wcm:action="add" wcm:keyValue="1">server1.fabrikam.com</DomainName>
      <DomainName wcm:action="add" wcm:keyValue="2">fabrikam.com</DomainName>
   </DNSSuffixSearchOrder>
   <UseDomainNameDevolution>true</UseDomainNameDevolution>
   <Interfaces>
      <Interface wcm:action="add">
         <Identifier>Local Area Connection</Identifier>
         <DNSDomain>fabrikam.com</DNSDomain>
         <DNSServerSearchOrder>
            <IpAddress wcm:action="add" wcm:keyValue="1">192.168.1.1</IpAddress>
            <IpAddress wcm:action="add" wcm:keyValue="2">192.168.1.2</IpAddress>
         </DNSServerSearchOrder>
         <EnableAdapterDomainNameRegistration>true</EnableAdapterDomainNameRegistration>
         <DisableDynamicUpdate>false</DisableDynamicUpdate>
      </Interface>
      <Interface wcm:action="add">
         <Identifier>Local Area Connection 2</Identifier>
         <DNSDomain>fabrikam.com</DNSDomain>
         <DNSServerSearchOrder>
            <IpAddress wcm:action="add" wcm:keyValue="1">192.168.1.1</IpAddress>
            <IpAddress wcm:action="add" wcm:keyValue="2">2001:4898:28:4:213:20ff:fe16:3e96</IpAddress>
         </DNSServerSearchOrder>
         <EnableAdapterDomainNameRegistration>true</EnableAdapterDomainNameRegistration>
        <DisableDynamicUpdate>false</DisableDynamicUpdate>
      </Interface>
   </Interfaces>

IpAddressIpAddress