大网数据广告活动
网络与域名解析

DNS Servers

· 52CE 我爱测

Learn about DNS Servers. A DNS Server is a computer that completes the process of name resolution in DNS.

A DNS Server is a computer that completes the process of name resolution in DNS. DNS Servers contain zone files that enable them to resolve names to IP addresses and IP addresses to names. When queried, a DNS Server will respond in one of three ways:

  • The server returns the requested name-resolution or IP-resolution data.
  • The server returns a pointer to another DNS Server that can service the request.
  • The server indicates that it does not have the requested data.

DNS Servers might, during the course of preparing to return the requested resolution data, query other DNS Servers, but beyond that, DNS Servers do not perform any other operations.

There are three main kinds of DNS Servers — primary servers, secondary servers, and caching servers.

Primary Server

The primary server is the authoritative server for the zone. All administrative tasks associated with the zone (such as creating subdomains within the zone, or other similar administrative tasks) must be performed on the primary server. In addition, any changes associated with the zone or any modifications or additions to RRs in the zone files must be made on the primary server. For any given zone, there is one primary server, except when you integrate Active Directory services and Microsoft DNS Server.

Secondary Servers

Secondary servers are backup DNS Servers. Secondary servers receive all of their zone files from the primary server zone files in a zone transfer. Multiple secondary servers can exist for any given zone — as many as necessary to provide load balancing, fault tolerance, and traffic reduction. Additionally, any given DNS Server can be a secondary server for multiple zones.

In addition to primary and secondary DNS Servers, additional DNS Server roles can be used when such servers are appropriate for a DNS infrastructure. These additional servers are caching servers and forwarders.

Caching Servers

Caching servers, also known as caching-only servers, perform as their name suggests; they provide only cached-query service for DNS responses. Rather than maintaining zone files like other secondary servers do, caching DNS Servers perform queries, cache the answers, and return the results to the querying client. The primary difference between caching servers and other secondary servers is that other secondary servers maintain zone files (and do zone transfers when appropriate, thereby generating network traffic associated with the transfer), caching servers do not.

Source: Microsoft Learn / Windows Win32 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 Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

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

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