Mailinglist Archive: opensuse-de (1001 mails)
| < Previous | Next > |
Re: named startet nicht
- From: Andreas Meyer <anmeyer@xxxxxxx>
- Date: Sat, 27 Aug 2011 14:39:37 +0200
- Message-id: <20110827143937.79ddf7c0@itx.bitcorner.intern>
Helga Fischer <Azula@xxxxxx> wrote:
der named läuft ganz normal auf port 53, aber
# netstat -pantu |grep 953
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN
488/named
tcp 0 0 ::1:953 :::* LISTEN
488/named
hm, es läuft keine firewall. Es gibt da ein Verzeichnis
/var/lib/named/etc/named.d
# ll /var/lib/named/etc/named.d
-rw-r--r-- 1 root root 0 7. Aug 13:32 forwarders.conf
-rw-r--r-- 1 root root 626 9. Okt 2003 rndc-access.conf
#cat rndc-access.conf
# ensure to find the key named 'rndc-key'
include "/etc/rndc.key";
controls {
# Bind BIND's control channel to localhost and allow access from
# loopback addresses only.
# This control channel is used for the init script /etc/init.d/named,
# rcnamed while called with the option reload or status
inet 127.0.0.1 allow {
127.0.0.0/8;
} keys { rndc-key; };
# In the following example BIND's control channel in addition is bound
# to IP address 192.0.2.1 and access is granted to loopback addresses
# and the 192.0.2.0/24 network.
#inet 192.0.2.1 allow {
# 127.0.0.0/8;
# 192.0.2.0/24;
#} keys { rndc-key; };
};
Andreas
--
Um die Liste abzubestellen, schicken Sie eine Mail an:
opensuse-de+unsubscribe@xxxxxxxxxxxx
Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken
Sie eine Mail an: opensuse-de+help@xxxxxxxxxxxx
Hallo Andreas,
Am Samstag 27 August 2011 schrieb Andreas Meyer:
Helga Fischer <Azula@xxxxxx> wrote:[...]
[...]Wie hast Du den denn installiert?
Ich hatte in /etc/sysconfig/named NAMED_RUN_CHROOTED="no"
eingestellt und das Ergebnis war der kaputte symlink.
OK.
Lege ich ein Verzeichnis /var/run/named an, befinden sich
darin nahezu unzählige Verlinkungen auf ~named.
Hat jemand einen Lösungsvorschlag für dieses Problem?
Nach Möglichkeit nirgends mit der Hand eingreifen. Normalerweise
läuft bind out-of-the-box.
Und changerooted hab ich jetzt:
itx:/var/run # rcnamed status
Checking for nameserver BIND running
rndc: connect failed: 127.0.0.1#953: connection refused
Du scheinst Sachen zu konfigurieren oder zu verwenden, die ich nicht
kenne. Bei mir lauscht bind ganz klassisch auf Port 53. 953 sagt
mich gar nichts. Benutzt Du einen anderen Port? Läuft bei Dir noch
ein Firewall-Skript, das den Port blockt, falls Du ihn so
konfiguriert hast?
der named läuft ganz normal auf port 53, aber
# netstat -pantu |grep 953
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN
488/named
tcp 0 0 ::1:953 :::* LISTEN
488/named
hm, es läuft keine firewall. Es gibt da ein Verzeichnis
/var/lib/named/etc/named.d
# ll /var/lib/named/etc/named.d
-rw-r--r-- 1 root root 0 7. Aug 13:32 forwarders.conf
-rw-r--r-- 1 root root 626 9. Okt 2003 rndc-access.conf
#cat rndc-access.conf
# ensure to find the key named 'rndc-key'
include "/etc/rndc.key";
controls {
# Bind BIND's control channel to localhost and allow access from
# loopback addresses only.
# This control channel is used for the init script /etc/init.d/named,
# rcnamed while called with the option reload or status
inet 127.0.0.1 allow {
127.0.0.0/8;
} keys { rndc-key; };
# In the following example BIND's control channel in addition is bound
# to IP address 192.0.2.1 and access is granted to loopback addresses
# and the 192.0.2.0/24 network.
#inet 192.0.2.1 allow {
# 127.0.0.0/8;
# 192.0.2.0/24;
#} keys { rndc-key; };
};
Helga
Andreas
--
Um die Liste abzubestellen, schicken Sie eine Mail an:
opensuse-de+unsubscribe@xxxxxxxxxxxx
Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken
Sie eine Mail an: opensuse-de+help@xxxxxxxxxxxx
| < Previous | Next > |