<dns>

Specifies the expected identity of the server. This identity is valid for X509 Certificate authentication mode if the server’s certificate contains a DNS with the same value. It is also valid for Windows authentication mode if the SPN has the same value.

For more information about setting the element value, see Service Identity and Authentication.

<identity>
<dns>

Syntax

<dns value = "String" />  

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description
value The DNS of the certificate. DNS is an industry-standard protocol used to locate computers on an IP-based network. Users can remember display names, such as http://go.microsoft.com/fwlink/?prd=10929 or http://go.microsoft.com/fwlink/?LinkID=96165, easier than number-based addresses, such as 207.46.131.137.

Child Elements

None.

Parent Elements

Element Description
<identity> Specifies the identity of the service to be authenticated by the client.

Example

The following configuration code specifies the DNS of an X.509 certificate that is used to authenticate a server.

<identity>  
  <dns value = "www.cohowinery.com" />  
</identity>  

See Also

IdentityElement
EndpointAddress
Identity
DnsEndpointIdentity
Service Identity and Authentication
<identity>