Bin9 stop working loading file permission denied

my domain suddenly stopped working, after investigate i found error in the log file :
anybody can help ? i’m not a expert !
the server is running for 1 year now and i only make debian 11 & hestiacp update on it

Aug 29 18:07:43 srv named[16444]: zone 127.in-addr.arpa/IN: loaded serial 1
Aug 29 18:07:43 srv named[16444]: zone mailtips.fr/IN: loading from master file /home/sendy/conf/dns/mailtips.fr.db failed: permission denied
Aug 29 18:07:43 srv named[16444]: zone mailtips.fr/IN: not loaded due to errors.
Aug 29 18:07:43 srv named[16444]: zone localhost/IN: loaded serial 2
Aug 29 18:07:43 srv named[16444]: all zones loaded
Aug 29 18:07:43 srv named[16444]: running
Aug 29 18:07:43 srv named[16444]: managed-keys-zone: Key 20326 for zone . is now trusted (acceptance timer complete)
Aug 29 18:07:43 srv named[16444]: resolver priming query complete

What are the permissions for this file?

Does v-rebuild-dns-domains user solve the issue

Found it !
no change in the permissions but i forgot to tell i have add a new hard drive and move /home to a new location so apparmor don’t follow the symlink and don’t allow acces to this new location.

to resolve it add a alias in /etc/apparmor.d/tunables/alias file :

alias /home/ -> /new/location/of/home/,

and restart apparmor and bind9 services

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.