Zudem ist mir nicht klar wie ich rndc benutzen kann wenn ich bind chrooted laufen lasse.
Die Startlinks sehen so aus:server:~# /etc/init.d/bind9 stop
Stopping domain name service: namedrndc: connection to remote host closed
This may indicate that the remote server is using an older version of
the command protocol, this host is not authorized to connect,
or the key is invalid.
.
server:~# ps aux|grep bind
bind 1056 0.0 1.6 29386 2584 ? Ss 19:51 0:00 /usr/sbin/named -u bind -t /var/lib/named
bind 1741 0.2 1.8 29692 2896 ? Ss 19:52 0:00 /usr/sbin/named -u bind -t /var/lib/named
root 1903 0.0 0.3 1632 520 pts/0 S+ 19:53 0:00 grep bind
server:~# kill 1056
server:~# kill 1741
server:~# ps aux|grep bind
root 1907 0.0 0.3 1632 480 pts/0 R+ 19:54 0:00 grep bind
server:~# /etc/init.d/bind9 start
Starting domain name service: named.
server:~# ps aux|grep bind
bind 1916 0.3 1.6 29396 2576 ? Ss 19:54 0:00 /usr/sbin/named -u bind -t /var/lib/named
root 1923 0.0 0.3 1632 480 pts/0 R+ 19:54 0:00 grep bind
server:~# rndc status
rndc: connection to remote host closed
This may indicate that the remote server is using an older version of
the command protocol, this host is not authorized to connect,
or the key is invalid.
PS: Habe ich die Weihnacht schon verpasst? :-)server:/etc# find /etc/ -name "*bind*"
/etc/default/bind9
/etc/init.d/bind9
/etc/rc0.d/K85bind9
/etc/rc1.d/K85bind9
/etc/rc2.d/S15bind9
/etc/rc3.d/S15bind9
/etc/rc4.d/S15bind9
/etc/rc5.d/S15bind9
/etc/rc6.d/K85bind9
/etc/bind
/etc/bind/bind