In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
The solution is as follows:
Modify the / etc/resolv.conf file to add the address of the DNS resolution server
The / etc/resolv.conf file configures the DNS client, which contains the domain name search order of the host and the address of the DNS server, and each line should contain a keyword and one or more parameters separated by spaces. Here is an example file:
Domain test.com
Search www.test.com test.com
Nameserver 202.96.128.86
Nameserver 202.96.128.166
Nameserver # defines the IP address of the DNS server
Domain # define a local domain name
Search # defines a search list for domain names
Sortlist # sorts the returned domain names
Mainly the nameserver keyword, if you do not specify nameserver, you can not find the DNS server, other keywords are optional.
Two DNS are set in the / etc/resolv.conf file, as follows:
Nameserver 114.114.114.114
Nameserver 8.8.8.8
After the configuration is complete, save and then use the ping domain name, as shown below:
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.