DNS is the abbreviation of Domain Name System, which is composed of a resolver and a domain name server. A domain name server refers to a server that stores the domain names and corresponding IP addresses of all hosts in the network and has the function of converting domain names into IP addresses. The domain name must correspond to an IP address, and the IP address does not necessarily have a domain name.
In actual application process, you may encounter the problem of DNS parsing error
, that is, when we access a domain name The work of parsing it into an IP address cannot be completed, but the website IP can be accessed normally by directly entering it. This is due to a failure in DNS resolution. (Recommended learning: PHP video tutorial)
Solution
1. Generally, if we have not set up DNS manually, the system will default It is in a state of automatic acquisition.
How to view XP:
Start------Control Panel-----Network Connection-------Local Area Connection-----Properties-- ----Internet Protocol (TCP/IP)------Properties We can see the default settings.
Win7 viewing method:
Start-----Control Panel------Network and Sharing Center-----Click View Status behind Local Area Connection---- ---Properties--------Internet Protocol 4 (TCP/IPv4)--------Properties can then be seen.
2. If we find that a DNS error is prompted in the automatic acquisition state, then we have to manually set the correct DNS address for the system. Select "Use the following DNS server address" and then fill in the address you got. Generally, we fill in two, one preferred DNS server address and one backup DNS server address (you can also leave this blank). Generally, the problem of DNS error or inability to access the webpage can be solved (sometimes problems with IE can also cause the inability to access the webpage. We can reset IE on the last page of the internet properties settings).
3. The above method is good for friends who are fixed on the Internet in one area, but for some people who often travel on business or often go to different places, it will be more troublesome to change the province. If you need to change the DNS address manually, then you need to use software, which can realize local DNS resolution. After downloading, double-click it and it will automatically decompress and install. After the installation is completed, your preferred DNS will be automatically set, and then in the service of your computer There will be one more service inside. If you want to stop the service, you can do the following: Start-----All Programs------TreeWalk-----service-----Stop DNS service~~ ~If you want to start the service, select Start DNS service. After unplugging the network cable or disconnecting the network, there will be a brief system suspended animation (in fact, if you check the process, it is caused by the service process occupying a high CPU. You can end it and return to normal).
For more PHP related technical articles, please visit the PHP Graphic Tutorial column to learn!
The above is the detailed content of what does dns error mean. For more information, please follow other related articles on the PHP Chinese website!