Ik probeer dynamische updates voor de dns server op gang te krijgen, maar ik krijg volgende error:
Jan 16 04:31:55 debian-bert dhcpd: Unable to add forward map from laptopbert.spookkot to 192.168.2.250: timed out
Jan 16 04:31:55 debian-bert dhcpd: DHCPREQUEST for 192.168.2.250 from 00:00:39:d6:dd:f2 (laptopbert) via eth0
Jan 16 04:31:55 debian-bert dhcpd: DHCPACK on 192.168.2.250 to 00:00:39:d6:dd:f2 (laptopbert) via eth0
Mijn dhcpd.conf ziet er zo uit:
# /etc/dhcpd.conf
ddns-domainname "spookkot";
ddns-update-style interim;
ddns-updates on;
deny client-updates;
allow unknown-clients;
subnet 192.168.2.0 netmask 255.255.255.0{
range 192.168.2.200 192.168.2.250;
default-lease-time 86400;
max-lease-time 172800;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.2.255;
option routers 192.168.2.1;
option domain-name "spookkot";
option domain-name-servers 192.168.2.254;
option netbios-name-servers 192.168.2.254;
}
en mijn named.conf:
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
options{
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you might need to uncomment the query-source
// directive below. Previous versions of BIND always asked
// questions using port 53, but BIND 8.1 and later use an unprivileged
// port by default.
// query-source address * port 53;
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
forwarders {
//0.0.0.0;
192.168.2.1;
};
auth-nxdomain no; # conform to RFC1035
};
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; };
};
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
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";
allow-update { 192.168.2.0/24; };
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
allow-update { 192.168.2.0/24; };
};
// add entries for other zones below here
zone "spookkot" {
type master;
file "/etc/bind/db.spookkot";
allow-update { localhost; };
notify no;
};
zone "2.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.2.168.192";
allow-update { localhost; };
notify no;
};
Hopelijk kan iemand hier raad mee, het is waarschijnlijk een dom probleem, maar ik zit al net iets te lang te zoeken naar de oplossing
...
Jan 16 04:31:55 debian-bert dhcpd: Unable to add forward map from laptopbert.spookkot to 192.168.2.250: timed out
Jan 16 04:31:55 debian-bert dhcpd: DHCPREQUEST for 192.168.2.250 from 00:00:39:d6:dd:f2 (laptopbert) via eth0
Jan 16 04:31:55 debian-bert dhcpd: DHCPACK on 192.168.2.250 to 00:00:39:d6:dd:f2 (laptopbert) via eth0
Mijn dhcpd.conf ziet er zo uit:
# /etc/dhcpd.conf
ddns-domainname "spookkot";
ddns-update-style interim;
ddns-updates on;
deny client-updates;
allow unknown-clients;
subnet 192.168.2.0 netmask 255.255.255.0{
range 192.168.2.200 192.168.2.250;
default-lease-time 86400;
max-lease-time 172800;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.2.255;
option routers 192.168.2.1;
option domain-name "spookkot";
option domain-name-servers 192.168.2.254;
option netbios-name-servers 192.168.2.254;
}
en mijn named.conf:
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
options{
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you might need to uncomment the query-source
// directive below. Previous versions of BIND always asked
// questions using port 53, but BIND 8.1 and later use an unprivileged
// port by default.
// query-source address * port 53;
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
forwarders {
//0.0.0.0;
192.168.2.1;
};
auth-nxdomain no; # conform to RFC1035
};
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; };
};
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
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";
allow-update { 192.168.2.0/24; };
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
allow-update { 192.168.2.0/24; };
};
// add entries for other zones below here
zone "spookkot" {
type master;
file "/etc/bind/db.spookkot";
allow-update { localhost; };
notify no;
};
zone "2.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.2.168.192";
allow-update { localhost; };
notify no;
};
Hopelijk kan iemand hier raad mee, het is waarschijnlijk een dom probleem, maar ik zit al net iets te lang te zoeken naar de oplossing