In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to use PowerDNS to easily configure the DNS name server, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.
Database driven
PowerDNS saves the records in the SQL database. This is a new change for us, and it's a good change that we don't have to use a text file to save the record. We chose MariaDB as the preferred powerful tool, and with a lot of information set up correctly to install the name server, we can set up and harden our database perfectly.
Simple configuration
The second thing that interests us is that all the features of PDNS are in the configuration file. Pdns.conf has many options, which you can enable or disable by adding or removing the # sign. This is amazing because it gives us the opportunity to integrate this new service into our existing infrastructure and only have the features we want, no more and no less. A simple example:
Who can access your web server?
Webserver-allow-from=172.10.0.1172.10.1.2
Can I forward domain-based requests? That's for sure!
Forward-zones=mylocal.io=127.0.0.1:5300forward-zones+=example.com=172.10.0.5:53forward-zones+=lucky.tech=172.10.1.5:53 contains API
We can use configuration files to activate API services, which addresses the first requirement of our development team and shows us the power of PDNS. This feature allows us to simply and cleanly create, modify, or delete records in the DNS server by sending requests.
This API has some basic security parameters, so in just a few steps, you can control who has the right to interact with the name server based on a combination of IP address and pre-shared key authentication. This is what the configuration file looks like:
Api=yesapi-key=lkjdsfpoiernfwebserver-allow-from=172.10.7.13172.10.7.5 log
When it comes to logging, PDNS does a great job. You can use log files and a simple built-in Web server to monitor the server and check the health of your computer. You can use a browser to view different types of server statistics, such as CPU usage and DNS queries received. It's very valuable. For example, we can detect some "unhealthy" PC that is sending DNS requests to our server for sites related to malicious traffic. After taking a closer look at the logs, we can see where the traffic is coming from and clean up the PC.
Other featur
This is just a little bit of everything you can do with PowerDNS. It has more functions. It is a complete name server with many functions and features, so it is worth a try.
Currently, we haven't deployed DNSSEC yet, but it seems that we can quickly put it into production with a single click. In addition, PowerDNS has a good way to separate recursive services from name servers. I learned that it also supports DNS RPZ (response strategy area) and also provides a very good and well-designed front end that allows you to use a Web browser to manage the server, as shown in the following figure.
Thank you for reading this article carefully. I hope the article "how to easily configure the DNS name server with PowerDNS" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and follow the industry information channel. More related knowledge is waiting for you to learn!
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.