What is DNS? How to set it? Where is it set?

First, the meaning of DNS

DNS (Domain Name System) is a distributed database on the World Wide Web, which maps domain names and IP addresses, so that users can access the Internet more conveniently without having to remember IP strings that can be directly read by machines. The process of obtaining the IP address corresponding to the domain name through the domain name is called domain name resolution (or hostname resolution).

DNS protocol runs on top of UDP protocol, using port number 53. In the RFC document, RFC 2 18 1 specifies DNS, RFC 2 136 specifies dynamic updating of DNS, and RFC 2308 specifies reverse caching of DNS queries.

Second, the setting steps

1. Right-click My Neighbor on the desktop → Select Properties, and select Properties, Generic and Internet Protocol (TCP/IP) in the local connection corresponding to the network card to view its properties.

If the router is the default setting, the host network parameters are set to:

IP: 192. 168. 1 . x(2-254)

Mask: 255.255.255.0

Gateway: 192. 168. 1.

DNS: fill in the local DNS address. If you are not sure, please consult your local service provider. (You can also set the IP address to be obtained automatically, and DNS suggests to specify it manually. )

2.Vista IP address parameter setting: Right-click the desktop network neighbor, select Properties, select Manage Network Connection in the network management sidebar, and select the properties corresponding to the network card and TCP/IP version 4 to view its properties. If the router is the default setting, the host network parameters are set to:

IP: 192. 168. 1 . x(2-254)

Mask: 255.255.255.0

Gateway: 192. 168. 1.

DNS: fill in the local DNS address. If you are not sure, please consult your local service provider.

Third, set the path.

Right-click My Desktop Network Neighborhood → Select Properties → Select Properties, General, Internet Protocol (TCP/IP) and properties in the local connection corresponding to the network card.

Extended data:

DNS function:

Each IP address can have a host name, which consists of one or more strings separated by decimal points. With the host name, you don't have to memorize the IP address of each IP device, just remember the relatively intuitive and meaningful host name. This is the function of DNS protocol.

There are two ways to map host names to IP addresses:

1) static mapping, each device is configured with the mapping from host to IP address, and each device independently maintains its own mapping table for its own use;

2) Dynamic mapping, that is, a set of domain name resolution system (DNS) is established, and the mapping from host to IP address is only configured on a special DNS server. For devices that need to communicate with host names on the network, the IP address corresponding to the host needs to be queried from the DNS server first. ? [ 1]?

The process of finally getting the IP address corresponding to the host name is called domain name resolution (or host name resolution). When resolving domain names, you can use static domain name resolution first, and if the static domain name resolution is unsuccessful, you can use dynamic domain name resolution again. Some commonly used domain names can be put into the static domain name resolution table, which can greatly improve the efficiency of domain name resolution.

References:

Baidu encyclopedia -DNS