Symptoms
After changes have been made to the Power DNS configuration file at /etc/pdns/pdns.conf, they will revert to the default settings when the service is restarted via:
# /scripts/restartsrv_pdns
Cause
The service restart script in part ensures that the necessary settings for PowerDNS are included in the configuration file, and will replace missing or altered settings related to the internal webserver for PowerDNS with their default values every time it runs.
We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-52061. Follow this article to receive an email notification when a solution is published in the product.
Resolution
Once changes have been made, the configuration file can be marked as immutable to prevent it from being overwritten when the service is restarted:
# chattr +i /etc/pdns/pdns.conf
This workaround should be considered temporary and removed immediately when a fix has been published to the software.
Comments
1 comment
Update: We would like to thank you for your interest in this article/case and encourage your submissions as they are valuable to the ever-expanding development of cPanel & WHM. At this time, this particular issue has not been selected for action from our Development Team, as it may require more development resources than we can allot, or alters the direction cPanel envisions for the product. Submissions persist in our Issue Tracking System in the event the impact of the related issue grows or product direction changes. If you feel that this defect requires direct action, we strongly encourage you to submit a Feature Request to allow the cPanel Community to vote and support your cause.
Thank you again for helping us make cPanel & WHM the hosting platform of choice.
Article is closed for comments.