Redigera

Dela via


AD FS troubleshooting: DNS

If Active Directory Federation Services (AD FS) isn't working or responding, one of the first things to check is Domain Name System (DNS) name resolution. Basic tests determine if the AD FS or Web Application Proxy (WAP) servers are found on your network. For internal users, these tests should resolve to the AD FS servers security token service (STS). For external users, these tests should resolve to the WAP servers.

The remainder of this article shows how to use command-line tools to do some quick name resolution checks.

Ping test

A ping test verifies IP-level connectivity to another TCP/IP computer by sending Internet Control Message Protocol (ICMP) Echo Request messages. The receipt of corresponding Echo Reply messages appears, along with round-trip times. For more information, see Ping.

Note

Some organizations block this port on their servers. You might get a Request timed out response.

To use a ping test:

  1. Open a command prompt.

  2. Enter ping <name of AD FS server>.

    Example: ping sts.contoso.com

A reply from the server appears.

Screenshot that shows a ping sample.

NSLookup

NSLookup shows information that you can use to diagnose DNS infrastructure. For more information, see NSLookup.

To use NSLookup:

  1. Open a command prompt.

  2. Enter nslookup <name of AD FS server>.

    Example: nslookup sts.contoso.com

The DNS information for the server appears.

Screenshot that shows NSLookup.

Tracert

Tracert determines the path taken to a destination by sending an ICMP Echo Request or ICMPv6 messages to the destination with incrementally increasing Time to Live (TTL) field values. For more information, see Tracert.

To use tracert:

  1. Open a command prompt.

  2. Enter tracert <name of AD FS server>.

    Example: tracert sts.contoso.com

The destination path used to reach the server appears.

Screenshot that shows tracert.