I need to set a Dynamic DNS in a WHM/cPanel server.
I am currently using nsupdate on client desktops.
/var/named owner is root and its group is named.
Permissions are 755
When I run the nsupdate script I got the "update failed: SERVFAIL" error message.
I than changed /var/named permissions to 775 and the script worked ok with no errors and the dynamic zone was correctly updated.
However, a few hours later I notice that /var/named permissions are back to 755 and named can not update the dynamic zones anymore.
I suppose that somehow, WHM has changed its permission back to its default.
Is there a way to configure named so it can write to this particular zone and without breaking its security?
Is there a way to move this particular zone file to a new directory where named could have write access?
I am currently using nsupdate on client desktops.
/var/named owner is root and its group is named.
Permissions are 755
When I run the nsupdate script I got the "update failed: SERVFAIL" error message.
I than changed /var/named permissions to 775 and the script worked ok with no errors and the dynamic zone was correctly updated.
However, a few hours later I notice that /var/named permissions are back to 755 and named can not update the dynamic zones anymore.
I suppose that somehow, WHM has changed its permission back to its default.
Is there a way to configure named so it can write to this particular zone and without breaking its security?
Is there a way to move this particular zone file to a new directory where named could have write access?