
in daily network use, many people have encountered clearly entered the correct URL, but jumped to unfamiliar advertising pages, or commonly used websites suddenly inaccessible, which is likely to encounter DNS hijacking. DNS hijacking will not only affect the normal Internet experience, but also may bring security risks such as phishing fraud. This article will explain the practical methods to solve the DNS hijacking problem for you, help you clear the network obstacles, protect the Internet security.
want to efficiently solve the DNS hijacking problem, accurate troubleshooting is the first step, only to determine the root cause of the problem, in order to deal with it.
1, verify DNS resolution results
can enter the nslookup command to query the Internet Protocol Address of the target website through the command prompt or end point tool that comes with the computer. If the query result does not match the official IP, it can basically confirm the existence of DNS hijacking. For example, if the query Baidu's IP returns an unfamiliar address, it means that the resolution process has been tampered with.
2, testing different network environments
switch different networks for testing, such as switching from home WiFi to mobile phone hotspots, if the website can be accessed normally under the mobile phone hotspot, and there is an abnormality under the home WiFi, indicating that the problem may be on the DNS server of the home router or broadband operator.
confirmed that DNS hijacking, can quickly restore the normal network through several emergency methods to solve the immediate problems caused by DNS hijacking.
1, manually modify the local DNS server
give up the use of automatically obtained DNS, manually replaced by public DNS servers, such as domestic 114.114.114.114, Ali's 223.5.5.5, or foreign 8.8.8.8. These public DNS servers have higher security, more stable resolution, can effectively avoid the tampered local DNS, and quickly solve the jump abnormality caused by DNS hijacking.
2, refresh the local DNS cache
the local DNS cache of your computer or phone may store tampered resolution records, flushing the cache can clear erroneous data. Windows systems can enter ipconfig /flushdns at the command prompt, Mac systems can enter sudo dscacheutil -flushcache at the end point, and then revisit the website. Some minor DNS hijacking problems can be solved.
if the problem is found on the router, it is necessary to adjust the settings for the router, which is an important part of solving the problem of DNS hijacking.
1, modify the router DNS settings
log in to the router management background, find the DNS settings option, and replace the default DNS server address with a reliable public DNS. At the same time, turn off the automatic DNS acquisition function of the router to avoid malicious tampering. After the modification is completed, restart the router to let the new DNS settings take effect, and most DNS hijacking problems at the router level can be solved.
2, upgrade the router firmware version
old router firmware may have security bugs, which can be easily exploited by attackers for DNS hijacking. Log in to the router's official website, download the latest firmware of the corresponding model, and follow the guidelines to complete the upgrade. The upgraded router can not only fix known vulnerabilities, but also improve the overall security and reduce the frequency of solving DNS hijacking problems from the root cause.
solve the problem of DNS hijacking can not only stay in the post-repair, long-term prevention can avoid repeated troubles.
1 Enable DNSSEC Security Extensions
DNSSEC is a DNS security verification mechanism that ensures the authenticity and integrity of DNS resolution records and prevents the resolution results from being tampered with. Some public DNS servers support the DNSSEC function, and turning on this option when setting up DNS can add a layer of security lock to the DNS resolution process and effectively prevent DNS hijacking.
2, regularly test the network environment
develop the habit of regularly detecting the network environment, use professional cyber security tools to scan the security status of routers and devices, and find potential DNS hijacking risks in a timely manner. At the same time, pay attention to cyber security information, understand the latest DNS hijacking methods, and prepare in advance to solve the problem of DNS hijacking.
To sum up, solving the problem of DNS hijacking requires a complete closed loop from troubleshooting, emergency repair, targeted treatment to long-term prevention. First, the root cause of the problem is investigated through analysis verification and network testing, and then the DNS is modified, the cache is refreshed or the router settings are adjusted according to different scenarios. Finally, long-term prevention is done with the help of DNSSEC and regular detection. As long as you master these methods, you can effectively deal with DNS hijacking and ensure the safety and smoothness of network access.