( ardi | 2019. 11. 08., p - 16:11 )

koszonom szepen - jovok minimum egy sorrel:

 

vi /etc/apparmor.d/usr.sbin.named

change:

/etc/bind/** r,

to:

/etc/bind/** rw,
/srv/bind/** rw,

service apparmor restart
systemctl restart bind9.service

 

Es kis hibaval, de mukodik:

systemctl status bind9.service
● bind9.service - BIND Domain Name Server
   Loaded: loaded (/etc/systemd/system/bind9.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2019-11-08 14:44:33 UTC; 11min ago
     Docs: man:named(8)
 Main PID: 5822 (named)
    Tasks: 4 (limit: 1144)
   Memory: 12.2M
   CGroup: /system.slice/bind9.service
           └─5822 /usr/sbin/named -f -u bind -t /srv/bind

Nov 08 14:44:33 server named[5822]: listening on IPv4 interface eth0, 10.253.61.76#53
Nov 08 14:44:33 server named[5822]: generating session key for dynamic DNS
Nov 08 14:44:33 server named[5822]: couldn't mkdir '//run': Permission denied
Nov 08 14:44:33 server named[5822]: could not create //run/named/session.key
Nov 08 14:44:33 server named[5822]: failed to generate session key for dynamic DNS: permission denied
Nov 08 14:44:33 server named[5822]: sizing zone task pool based on 64 zones
Nov 08 14:44:33 server named[5822]: none:106: 'max-cache-size 90%' - setting to 887MB (out of 986MB)
Nov 08 14:44:33 server named[5822]: set up managed keys zone for view _default, file 'managed-keys.bind'
Nov 08 14:44:33 server named[5822]: none:106: 'max-cache-size 90%' - setting to 887MB (out of 986MB)
Nov 08 14:44:33 server named[5822]: command channel listening on 127.0.0.1#953

Megyek, rakeresek erre is.

 

Ardi