Solution for nuget mounting

Source: Internet
Author: User
Tags domain name server godaddy domain godaddy domain name nslookup

When the next nuget package was used today, it was found that nuget was down: the remote name could not be resolved: 'nuget. org '. The first reaction is the Party's principal shake Wei Feng, hung a proxy on the http://nuget.org tried, really good.

Run the NSLookup nuget.org command and try again. The domain name cannot be resolved. Then, use Google DNS to re-resolve the NSLookup nuget.org 8.8.8.8, which can parse the 157.56.8.150 file, and Use http: // 157.56.8.150/to view it, allows you to smoothly browse nuget.

It can be determined that the DNS is hijacked. Run the NSLookup-type = NS nuget.org 8.8.8.8 command to check whether nuget uses a Godaddy Domain Name Server, however, Godaddy's domain name server does not match the eight-character of the Party's principal. When the Party's principal returns from a long vacation, the three-character fire will be taken for granted.

After knowing the cause, the solution will be:

  1. Modify the DNS configuration on your computer. do not obtain it automatically. Use opendns or Google 8.8.8.8 instead.
  2. Run the "NSLookup nuget.org 8.8.8.8" command to obtain the IP address of nuget.org (Here I Am Going To 157.56.8.150) and add this IP address to the host file: 157.56.8.150 nuget.org.
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.