Ubuntu21.10 Configuring Ali Cloud DNS Method

DNS

Introduction

Domain Name System (Service) Protocol (DNS) is a distributed network directory service, primarily for the mutual conversion of domain names and IP addresses, and the transmission of email controls the Internet.

(First, you need to open Ali Cloud official mirroring station: https: //developer.aliyun.com/mirror/ Find the DNS server address, follow-up.)

Ubuntu 21.10 configuration method:

Edit file “/etc/resolv.conf”, modify the file content according to the situation.

Open the terminal, enter the following command at the terminal,

Sudo vi /etc/resolv.conf

Add the following two lines:

Nameserver 223.5.5.5

Nameserver 223.6.6.6

Save exit, then use DIG authentication:

Dig alidns.com