大网数据广告活动
域与目录服务

AD FS Troubleshooting - DNS Resolution

· 52CE 我爱测

This article describes how to troubleshoot Domain Name System aspects of Active Directory Federation Services.

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.

Related content

Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Server documentation
适用范围
Windows Server · Source date 02/13/2024
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。