So, bekomme nun immer noch diesen Fehler hier:
Code: Alles auswählen
Oct 3 19:56:03 localhost named[10230]: shutting down: flushing changes
Oct 3 19:56:03 localhost named[10230]: stopping command channel on 127.0.0.1#953
Oct 3 19:56:03 localhost named[10230]: no longer listening on ::#53
Oct 3 19:56:03 localhost named[10230]: no longer listening on 127.0.0.1#53
Oct 3 19:56:03 localhost named[10230]: no longer listening on 192.168.2.98#53
Oct 3 19:56:03 localhost named[10230]: no longer listening on 192.168.1.99#53
Oct 3 19:56:03 localhost named[10230]: exiting
Oct 3 19:56:05 localhost named[10270]: starting BIND 9.3.4-P1.1 -u bind
Oct 3 19:56:05 localhost named[10270]: found 2 CPUs, using 2 worker threads
Oct 3 19:56:05 localhost named[10270]: loading configuration from '/etc/bind/named.conf'
Oct 3 19:56:05 localhost named[10270]: listening on IPv6 interfaces, port 53
Oct 3 19:56:05 localhost named[10270]: listening on IPv4 interface lo, 127.0.0.1#53
Oct 3 19:56:05 localhost named[10270]: listening on IPv4 interface eth0, 192.168.2.98#53
Oct 3 19:56:05 localhost named[10270]: listening on IPv4 interface eth1, 192.168.1.99#53
Oct 3 19:56:05 localhost named[10270]: command channel listening on 127.0.0.1#953
Oct 3 19:56:05 localhost named[10270]: zone 0.in-addr.arpa/IN: loaded serial 1
Oct 3 19:56:05 localhost named[10270]: zone 127.in-addr.arpa/IN: loaded serial 1
Oct 3 19:56:05 localhost named[10270]: /etc/bind/db.mynetwork.local.rev:6: ignoring out-of-zone data (.)
Oct 3 19:56:05 localhost named[10270]: /etc/bind/db.mynetwork.local.rev:13: ignoring out-of-zone data (.)
Oct 3 19:56:05 localhost named[10270]: zone 1.168.192.in-addr.arpa/IN: has 0 SOA records
Oct 3 19:56:05 localhost named[10270]: zone 1.168.192.in-addr.arpa/IN: has no NS records
Oct 3 19:56:05 localhost named[10270]: zone 255.in-addr.arpa/IN: loaded serial 1
Oct 3 19:56:05 localhost named[10270]: /etc/bind/db.mynetwork.local:6: ignoring out-of-zone data (.)
Oct 3 19:56:05 localhost named[10270]: zone mynetwork.local/IN: has 0 SOA records
Oct 3 19:56:05 localhost named[10270]: zone mynetwork.local/IN: has no NS records
Oct 3 19:56:05 localhost named[10270]: zone localhost/IN: loaded serial 1
Oct 3 19:56:05 localhost named[10270]: running
Oct 3 19:56:20 localhost dhcpd: Unable to add forward map from Pia_Laptop.mynetwork.local to 192.168.1.150: timed out
Oct 3 19:56:20 localhost dhcpd: DHCPREQUEST for 192.168.1.150 from 00:0f:b0:39:6e:28 (Pia_Laptop) via eth1
Oct 3 19:56:20 localhost dhcpd: DHCPACK on 192.168.1.150 to 00:0f:b0:39:6e:28 (Pia_Laptop) via eth1
Kann leider noch immer keinen Fehler finden und weiß auch nicht genau, wo der Fehler liegt (DHCP oder DNS)?
Zu meinen bisherigen Konfig:
/etc/hosts
Code: Alles auswählen
127.0.0.1 localhost.localdomain localhost homer
192.168.2.98 homer1 homer1.mynetwork.local
192.168.1.99 homer2 homer2.mynetwork.local
192.168.2.1 fritzbox.local fritzbox
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
/etc/resolv.conf
Code: Alles auswählen
order hosts,bind
domain mynetwork.local
nameserver 192.168.2.1
/etc/dhcp3/dhcp3.conf
Code: Alles auswählen
ddns-update-style interim;
ddns-domainname "mynetwork.local";
update-static-leases true;
default-lease-time 600;
max-lease-time 7200;
allow unknown-clients;
authoritative;
include "/etc/dhcp3/MYKEY.key";
zone 1.168.192.in-addr.arpa {
primary 192.168.1.99;
key MYKEY;
}
zone mynetwork.local {
primary 192.168.1.99;
key MYKEY;
}
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.150;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.2.1;
option domain-name "mynetwork.local";
option routers 192.168.2.1;
}
subnet 192.168.2.0 netmask 255.255.255.0 {
}
log-facility local7;
/etc/bind/named.conf
Code: Alles auswählen
acl lan-clients {
192.168.1.0/24;
127.0.0.1;
};
include "/etc/bind/named.conf.options";
include "/etc/bind/MYKEY.key";
zone "mynetwork.local" {
type master;
file "/etc/bind/db.mynetwork.local";
notify yes;
allow-update { key MYKEY; };
};
zone "1.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.mynetwork.local.rev";
notify yes;
allow-update { key MYKEY; };
};
include "/etc/bind/rndc.key";
controls {
inet 127.0.0.1 allow { localhost; } keys { rndc-key; };
};
zone "." {
type hint;
file "/etc/bind/db.root";
};
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
include "/etc/bind/named.conf.local";
/etc/bind/named.conf.options
Code: Alles auswählen
options {
allow-query { lan-clients; };
allow-recursion { lan-clients; };
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};
Vielleicht sieht ja jemand einen Fehler oder hat noch einen Tipp für mich.
Suche nun schon den ganzen Tag und kann einfach nichts finden.
[edit]
Und noch die Datei /etc/bind/db.mynetwork.local
Code: Alles auswählen
;
; BIND data file for domain mynetwork.local
;
$ORIGIN .
$TTL 604800
@ IN SOA mynetwork.local. root.mynetwork.lan. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS mynetwork.local.
[/edit]