netsh.xyz.zone.jnl: create: permission denied,bind9 ixfr同步jnl生成失败的解决办法

调测bind9同步及notify、ixfr、axfr机制,通过rndc reload zone,在slave抓包,并未发现notify及ixfr包,检查named.run日志,发现日志中有netsh.xyz.zone.jnl: create: permission denied
第一反应:权限或者SELinux有问题,经检查不是这的事,搜索,在centos.org找到了解决方案:
Stop Bind Server
service named stop

Move all zones
/var/named/example.com
to
/var/named/data/example.com

and on named.conf
file "data/example.com"

Start Bind Server
service named start

测试,问题解决,原文连接:https://www.centos.org/forums/viewtopic.php?t=5543

0 条评论

What is 3 + 12 ?
Please leave these two fields as-is:
不答对这道小题,是不给通过的哦

昵称

This site uses Akismet to reduce spam. Learn how your comment data is processed.

沙发空缺中,还不快抢~