In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "Ubuntu DNS server startup configuration mode". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Configure a secondary Ubuntu DNS server
Configure server 11.0.0.2 as a 21php.com secondary Ubuntu DNS server
A secondary Ubuntu DNS server that transfers a complete set of domain information from the primary server. Zone files are transferred from the primary server and stored on the secondary server as local disk files. There is a full copy of the domain information in the secondary server, so you can also answer queries for that domain. The configuration of this section is as follows:
Zone "21php.com" IN {type slave
File "21php.com.zone"
Masters {11.0.0.1;};}
As you can see, the difference from the main Ubuntu DNS server is that "type" is changed to "slave", and then the address of the main Ubuntu DNS server "masters {11.0.0.1;};" is specified. When the Ubuntu DNS service starts, it automatically connects to 11.0.0.1, reads the information from the 21php.com domain, and then saves it to the local 21php.com.zone file.
Test the Ubuntu DNS server
After changing the appropriate file for Ubuntu DNS, restart the service with the "ndc restart" command, and use the command in redhat version 7.1 or later:
/ etc/rc.d/init.d/named restart or / etc/rc.d/init.d/named reload
Make the changes effective
To test Ubuntu DNS, find a client, set its Ubuntu DNS address to the newly created Ubuntu DNS server address, and then try surfing the Internet, receiving mail, downloading, and so on. You can also use the nslookup command: run nslookup and enter the hostname you want to query to see if the correct ip address is returned. It is recommended to use the dig command in redhat 7.1 or later.
Note: the above have been tested in REDHAT 6.1REDHAT 9.
This is the end of the content of "Ubuntu DNS server startup configuration mode". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.