Key

업데이트 날짜: 2012년 8월

적용 대상: Windows 7, Windows 8, Windows Server 2008 R2, Windows Server 2012, Windows Vista

Key specifies a unique key for the domain name.

참고

  • This element does not appear in the Properties pane of Windows® System Image Manager (Windows SIM) until you add DomainName to the answer file.

  • The value for Key is added to the answer file as an attribute of the DomainName element. The attribute wcm:keyValue is used to identify each unique domain name. For example, you can specify three different domain names by using Key values of 1, 2, and 3.

Values

Key

Specifies a unique key for the domain name. Key is a string.

이 문자열 형식에서는 빈 요소를 지원하지 않습니다. 이 설정에 대해 빈 값을 만들지 마세요.

Parent Hierarchy

Microsoft-Windows-DNS-Client | DNSSuffixSearchOrder | DomainName | Key

Valid Passes

specialize

Applies To

For a list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-DNS-Client.

XML Example

The following XML output shows a Domain Name System (DNS) 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>

참고 항목

개념

DomainName