Also gehen tut hier alles, hier ein auszug asu meiner /vatr/log/messages
das sagt mein log file wenn ich es versuche über mein start-script zu starten.
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
Sep 14 17:49:12 server rc-scripts: ERROR: "named" has not yet been started.
Sep 14 17:49:17 server process `rndc' is using obsolete setsockopt SO_BSDCOMPAT
Sep 14 17:49:17 server named[17494]: loading configuration from '/etc/bind/named.conf'
Sep 14 17:49:30 server named[17494]: loading configuration from '/etc/bind/named.conf'
Sep 14 17:50:01 server cron[18032]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Sep 14 17:54:56 server dhcpd: Wrote 0 leases to leases file.
Sep 14 17:55:14 server named[17494]: loading configuration from '/etc/bind/named.conf'
Sep 14 17:55:45 server named[17494]: shutting down
Sep 14 17:55:45 server named[17494]: stopping command channel on 127.0.0.1#953
Sep 14 17:55:45 server named[17494]: stopping command channel on ::1#953
Sep 14 17:55:45 server named[17494]: no longer listening on 192.168.2.253#53
Sep 14 17:55:45 server named[17494]: no longer listening on 127.0.0.1#53
Sep 14 17:55:45 server named[17494]: exiting
Sep 14 17:56:35 server named[18305]: starting BIND 9.2.5 -c /etc/bind/named.conf -t /chroot/dns/ -n 1 -u named
Sep 14 17:56:35 server named[18305]: using 1 CPU
Sep 14 17:56:35 server named[18305]: loading configuration from '/etc/bind/named.conf'
Sep 14 17:56:35 server named[18305]: listening on IPv4 interface eth0, 192.168.2.253#53
Sep 14 17:56:35 server process `named' is using obsolete setsockopt SO_BSDCOMPAT
Sep 14 17:56:35 server named[18305]: listening on IPv4 interface lo, 127.0.0.1#53
Sep 14 17:56:35 server named[18305]: command channel listening on 127.0.0.1#953
Sep 14 17:56:35 server named[18305]: command channel listening on ::1#953
Sep 14 17:56:35 server named[18305]: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
Sep 14 17:56:35 server named[18305]: zone 2.168.192.in-addr.arpa/IN: loaded serial 2005091402
Sep 14 17:56:35 server named[18305]: zone micneu.lan/IN: loaded serial 2005091401
Sep 14 17:56:35 server named[18305]: running
Sep 14 17:56:39 server named[18305]: loading configuration from '/etc/bind/named.conf'
Sep 14 18:00:01 server cron[18348]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Sep 14 18:00:01 server cron[18350]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.hourly)
Sep 14 18:00:39 server named[18305]: loading configuration from '/etc/bind/named.conf'
Sep 14 18:01:32 server named[18305]: shutting down
Sep 14 18:01:32 server named[18305]: stopping command channel on 127.0.0.1#953
Sep 14 18:01:32 server named[18305]: stopping command channel on ::1#953
Sep 14 18:01:32 server named[18305]: no longer listening on 192.168.2.253#53
Sep 14 18:01:32 server named[18305]: no longer listening on 127.0.0.1#53
Sep 14 18:01:32 server named[18305]: exiting
|
und so sieht es aus wenn ich es selber eintippe:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
|
Sep 14 18:01:37 server named[18459]: starting BIND 9.2.5 -c /etc/bind/named.conf -t /chroot/dns/ -n 1 -u named
Sep 14 18:01:37 server named[18459]: using 1 CPU
Sep 14 18:01:37 server named[18459]: loading configuration from '/etc/bind/named.conf'
Sep 14 18:01:37 server named[18459]: listening on IPv4 interface eth0, 192.168.2.253#53
Sep 14 18:01:37 server named[18459]: listening on IPv4 interface lo, 127.0.0.1#53
Sep 14 18:01:37 server named[18459]: command channel listening on 127.0.0.1#953
Sep 14 18:01:37 server named[18459]: command channel listening on ::1#953
Sep 14 18:01:37 server named[18459]: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
Sep 14 18:01:37 server named[18459]: zone 2.168.192.in-addr.arpa/IN: loaded serial 2005091403
Sep 14 18:01:37 server named[18459]: zone micneu.lan/IN: loaded serial 2005091402
Sep 14 18:01:37 server named[18459]: running
|
und das sind die meldungen wenn ein client seine ip per dhcp bekommt:
|
Quellcode
|
1
2
3
4
5
6
7
|
Sep 14 18:06:11 server dhcpd: DHCPDISCOVER from 00:13:d4:03:a0:bb via eth0
Sep 14 18:06:12 server dhcpd: DHCPOFFER on 192.168.2.3 to 00:13:d4:03:a0:bb (pc24) via eth0
Sep 14 18:06:12 server named[18459]: client 192.168.2.253#32779: updating zone 'micneu.lan/IN': update failed: 'rrset does not exist' prereq
uisite not satisfied (YXRRSET)
Sep 14 18:06:12 server dhcpd: if pc24.micneu.lan IN A rrset doesn't exist add pc24.micneu.lan 10800 IN A 192.168.2.3: RRset already exists.
Sep 14 18:06:12 server dhcpd: DHCPREQUEST for 192.168.2.3 (192.168.2.253) from 00:13:d4:03:a0:bb (pc24) via eth0
Sep 14 18:06:12 server dhcpd: DHCPACK on 192.168.2.3 to 00:13:d4:03:a0:bb (pc24) via eth0
|
also habe ich ein lauffähiges netzwerk würde ich sagen die treiber funktionieren auch ;-)
mein problem ist das startscript und die chroot umgebung... damit mein dhcp den bind updaten kann.