Linux responds to Domain Name Hijacking

Source: Internet
Author: User
Tags to domain

Today, my reporting script cannot be used. I opened www.neospeech.com and found that it could not be accessed. But enabling ssh-d is normal. It seems that neospeech has been hijacked by the Firewall Domain name in China. Use dig www. neospeech. there is a blank area in the comA record. Let's trace it and see what situation dig + trace www.neospeech.com to ns43.domaincontrol.com. and then display connection timed out; no servers cocould be reached. It seems that the dns server of the domain name service provider of neospeech.com has been walled. What should we do now? If you have a proxy server, vpn, or ssh, open it and solve the problem. If you don't have one, let's continue and learn how to change the hosts. Www.2cto.com first, we need to find the correct IP address www.neospeech.com. Find a foreign dns server that can be accessed, such as Google 8.8.8.8, and find the website address you want: dig @ 8.8.8.8.8 www. neospeech. comgot it! Result: answer section: www.neospeech.com. 1833 in cname neospeech.com.neospeech.com. 1833 in a 208.109.168.116 we can see that www.neospeech.com is an alias pointing to neospeech.com, while the record of neospeech.com is 208.109.168.116. This is the ip address we want. Now let's modify hosts, generally, to ensure the security of hosts is read-only, add the write permission sudo chmod + w/etc/hosts to it and open it in your favorite editor, for example, I used vim sudo vim/etc/hosts to add 208.109.168.116 neospeech to it. com208.109.168.116 www.neospeech.com save and quit. Now we can access www.neospeech.com. In the future, we will be able to do this in case of domain name hijacking.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.