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

DNS Overview

· 52CE 我爱测

DNS is an industry-standard service used to locate computers on an Internet Protocol (IP)-based network.

DNS is an industry-standard service used to locate computers on an Internet Protocol (IP)-based network. IP networks, such as the Internet and Windows 2000 networks, rely on number-based addresses, such as 207.46.131.137 to ferry information throughout the network. Network users rely on character-based names, such as www.microsoft.com. Therefore, it is necessary to translate character or user-friendly addresses (www.microsoft.com) into the number-based addresses (207.46.131.137) that the network can recognize. DNS is the service of choice in Windows 2000 to locate resources and translate them into their corresponding IP addresses.

DNS uses a specialized database of resource records, commonly referred to simply as RRs, to respond to client name-resolution queries. Before DNS, name resolution on the Internet was achieved with hosts file, which are manually created files that associated host names with IP addresses.

When a new client was added to the network, an administrator had to manually update the hosts file and then copy (replicate) that file to all other computers on the network so that the new host could be reached by all. As the Internet grew, this form of name resolution was clearly insufficient; it was too management intensive, and it did not scale. The hosts file just got bigger, and because it used a flat name space (see also Name Space), it could not be partitioned and had to be distributed in its entirety. The solution was DNS.

  • DNS replaced the hosts file's flat name space with a hierarchical name space. With a hierarchical name space, information about host names and IP addresses can be partitioned and distributed; thus, scalability is achieved. For example, in the fictional widgets.products.microsoft.com domain, responsibility for name resolution can be partitioned so that various servers can handle name resolution for different parts of the name space:
    • One server can be responsible for resolving the first part (microsoft.com), and can then forward the name-resolution request to the next DNS Server in the hierarchy.
    • The next DNS Server can be responsible for resolving the next part of the name space (products).
    • Finally, the request can be forwarded to a third DNS server that is responsible for resolving the last part of the name (widgets).

DNS Servers in each part of the hierarchical name space need to maintain a database of resource records for hosts, but only in their part of the hierarchy. Thus, the server (or servers) in the products part of widgets.products.microsoft.com maintain RRs for only the products part of the hierarchical name space — not for the microsoft.com part or the widgets part of the name space.

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)

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

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