المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : سي بانيل cPanel | حل مشكلة PowerDNS is not available for your system



Rise Company
03-03-2021, 23:34
سي بانيل cPanel | حل مشكلة PowerDNS is not available for your system
How to Use cPanel's PowerDNS - replacing bind with powerdns

https://www.rise.company/upload/uploads/161481245895181.png

The PowerDNS (https://powerdns.com/) open source DNS server software offers high performance with very low memory requirements. cPanel’s PowerDNS implementation reads DNS data from the BIND files and stores DNSSEC data in a SQLite database. This makes cPanel’s PowerDNS compatible with most of cPanel’s DNS Management tools.

المشكلة :

I cant select MyDNS. The radio button is grayed out
Currently BIND is enabled but it uses too much memory and I want to change it. Thinking about trying MyDNS.
For some reason, at the selection screen, BIND is the only selectable option while MyDNS & NSD are not and it says "MyDNS/NSD is not available for your system".

حل المشكلة :

I solved it. All I needed to do was edit /etc/resolv.conf and for the nameservers I set them to Google's Public DNS. So, in order to use MyDNS or NSD you need to have external nameservers listed in the resolv.conf and not your local ones.

You could just use Google's resolves (8.8.4.4 and 8.8.8.8) or Cloudflare (1.1.1.1 and 1.1.1.2) or the most common,
which is to just uses the data centre's resolvers.

https://www.rise.company/upload/uploads/161481245919442.png


nano /etc/resolv.conf

داخل هذا الملف /etc/resolv.conf هتجد dns لسيرفرك الاول و الثانى قم باستبداله بجوجل مثل الصورة
ثم اذهب Home »Service Configuration »Nameserver Selection واختر power dns
وهيعمل فى الحال بمنتهى السهولة و الامان دون اى مشكلة

المرجع:
https://www.webhostingtalk.com/showthread.php?t=1249892
https://forums.cpanel.net/threads/named-8710-none-104-max-cache-size-90-setting-to-14259mb-out-of-15843mb.686817/
https://docs.cpanel.net/knowledge-base/dns/how-to-use-cpanels-powerdns/
https://support.cpanel.net/hc/en-us/articles/1500001442182-Nameserver-Selection-reports-PowerDNS-is-not-available-for-your-system-
https://forums.cpanel.net/threads/powerdns-to-resolve-dns-queries-not-in-its-database.669701/
https://forums.cpanel.net/threads/replacing-bind-with-powerdns.681465/

Rise Company
04-03-2021, 00:29
I'm very skeptical about this i mean bind has worked for me for years (if it's not broken don't mess with it) however i want to enable dnssec and cPanel only supports that with powerdns .I am wondering if the switch is *really* as simple as choosing Powerdns in the "nameserver selection" interface in whm ? also i use AXFR transfers to secondary dns servers will that be broken ??


I can only answer the first part of your question, but the general answer is yes. PDNS is compatible with a whole bunch of 'back ends'. cPanel choose to implement it with a bind back end. So what basically happens is that bind gets shut down, PDNS gets started and it's configured to read the exact same zone files that bind was reading. All of the underlying cPanel "stuff" still thinks its using bind/wring bind zone files.