ich habe in einen kleinen privaten netzwerk auf einen SuSe 10.1 rechner einen dhcp-server (version 3.0.3-21) und einen dns server (bind version 9.3.2-17) installiert und konfiguriert.
beide funktionieren, lediglich das update des dns-servers durch den dhcp-server macht probleme.
hier ein auszug aus dem log file:
meine dhcpd.conf
meine named.conf
danke schonmal für die antworten.
mfg,
rbach
beide funktionieren, lediglich das update des dns-servers durch den dhcp-server macht probleme.
hier ein auszug aus dem log file:
Code:
Sep 15 11:16:33 andreas named[24373]: starting BIND 9.3.2 -t /var/lib/named -u named
Sep 15 11:16:33 andreas named[24373]: found 1 CPU, using 1 worker thread
Sep 15 11:16:33 andreas named[24373]: loading configuration from '/etc/named.conf'
Sep 15 11:16:33 andreas named[24373]: listening on IPv6 interfaces, port 53
Sep 15 11:16:33 andreas named[24373]: listening on IPv4 interface lo, 127.0.0.1#53
Sep 15 11:16:33 andreas named[24373]: listening on IPv4 interface eth0, 192.168.111.1#53
Sep 15 11:16:33 andreas named[24373]: command channel listening on 127.0.0.1#953
Sep 15 11:16:33 andreas named[24373]: command channel listening on ::1#953
Sep 15 11:16:33 andreas named[24373]: zone 0.0.127.in-addr.arpa/IN: loaded serial 42
Sep 15 11:16:33 andreas named[24373]: zone 111.168.192.in-addr.arpa/IN: has no NS records
Sep 15 11:16:33 andreas named[24373]: zone test-lokal.com/IN: loaded serial 2006091404
Sep 15 11:16:33 andreas named[24373]: zone localhost/IN: loaded serial 42
Sep 15 11:16:33 andreas named[24373]: running
Sep 15 11:16:46 andreas named[24373]: client 192.168.111.1#32870: updating zone 'test-lokal.com/IN': adding an RR at 'thinkpad-2.test-lokal.com' A
Sep 15 11:16:46 andreas named[24373]: client 192.168.111.1#32870: updating zone 'test-lokal.com/IN': adding an RR at 'thinkpad-2.test-lokal.com' TXT
Sep 15 11:16:46 andreas named[24373]: journal file master/test-lokal.com.jnl does not exist, creating it
Sep 15 11:16:46 andreas named[24373]: master/test-lokal.com.jnl: create: permission denied
Sep 15 11:16:46 andreas named[24373]: client 192.168.111.1#32870: updating zone 'test-lokal.com/IN': error: journal open failed: unexpected error
Sep 15 11:16:46 andreas dhcpd: Unable to add forward map from thinkpad-2.test-lokal.com to 192.168.111.188: timed out
Sep 15 11:16:46 andreas dhcpd: DHCPREQUEST for 192.168.111.188 from 00:03:47:b9:41:10 (thinkpad-2) via eth0
Sep 15 11:16:46 andreas dhcpd: DHCPACK on 192.168.111.188 to 00:03:47:b9:41:10 (thinkpad-2) via eth0
meine dhcpd.conf
Code:
option domain-name "test-lokal.com";
option netbios-node-type 8;
option netbios-name-servers 192.168.111.101, 192.168.111.106;
option domain-name-servers 192.168.111.1; #192.168.111.106, 192.168.111.101;
option ntp-servers 192.168.111.6;
option routers 192.168.111.1;
#dhcp interface (SuSe)
DHCPD_INTERFACE="eth0";
#dns-server updates
ddns-update-style interim;
ddns-domainname "test-lokal.com";
update-static-leases true;
#ddns-update on;
key dhcp_updater {
algorithm HMAC-MD5.SIG-ALG.REG.INT;
secret EU+q+t2wqRsY3b11nNVAAg==;
};
zone test-lokal.com. {
primary 192.168.111.1;
key dhcp_updater;
}
zone 111.168.192.in-addr.arpa. {
primary 192.168.111.1;
key dhcp_updater;
}
#netz einstellungen
subnet 192.168.111.0 netmask 255.255.255.0 {
range 192.168.111.20 192.168.111.80;
range 192.168.111.150 192.168.111.190;
default-lease-time 14400;
max-lease-time 172800;
}
meine named.conf
Code:
options {
directory "/var/lib/named";
dump-file "/var/log/named_dump.db";
statistics-file "/var/log/named.stats";
listen-on-v6 { any; };
notify no;
include "/etc/named.d/forwarders.conf";
};
zone "." in {
type hint;
file "root.hint";
};
zone "localhost" in {
type master;
file "localhost.zone";
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "127.0.0.zone";
};
include "/etc/named.conf.include";
key dhcp_updater {
algorithm HMAC-MD5.SIG-ALG.REG.INT;
secret EU+q+t2wqRsY3b11nNVAAg==;
};
zone "test-lokal.com" in {
file "master/test-lokal.com";
type master;
allow-update { key dhcp_updater; };
allow-transfer { any; };
};
zone "111.168.192.in-addr.arpa" in {
file "master/111.168.192.in-addr.arpa";
type master;
allow-update { key dhcp_updater; };
};
danke schonmal für die antworten.
mfg,
rbach