<dns>

Secifies 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 Specifying Service Identity.

Schema Hierarchy

<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 https://go.microsoft.com/fwlink/?prd=10929&pver=3.5&plcid=0x409&clcid=0x409&ar=MS&sar=MS or https://go.microsoft.com/fwlink/?LinkID=96165&clcid=0x409, 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

Reference

<identity>
IdentityElement
EndpointAddress
Identity
DnsEndpointIdentity

Other Resources

Specifying Service Identity


© 2007 Microsoft Corporation. All rights reserved.
Last Published: 2010-01-05