Add a fixed IPv6 DNS for your machine

Source: Internet
Author: User

It seems that some DNS often cannot resolve some IPv6 domain names. It is necessary to set the DNS to a fixed one.

 

Windows:

It is said that Windows currently does not support IPv6 DNS well, but it still needs to rely on IPv4 for resolution.

The method for adding a fixed DNS is as follows:

C:/> netsh <br/> netsh> interface IPv6 <br/>/* set a fixed IPv6 address, "Local Connection" refers to the name of a connection created on your machine */<br/> netsh interface IPv6> Add DNS "Local Connection" 2001: 251: e101: 0 :: 2 <br/>/* local connection refers to the network name of your machine. You can see it in the command line using the "ipconfig/all" command */ 

In Linux:

Modify the/etc/resolv. conf file and add the following two lines to it:

Nameserver 2001: da8: 8000: 1: 202: 120: 2: 101 <br/> nameserver 2001: da8: 8000: 1: 202: 120: 2: 100 

Note: The preceding three IP addresses can be used:

2001: 251: e101: 0: 2

2001: da8: 8000: 1: 202: 120: 2: 101

2001: da8: 8000: 1: 202: 120: 2: 100

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.