Hi
I'm having a problem with ddns updates between bind9 and dhcpd3.
I'm running Debian Woody unstable on a 2.4.27 kernel.
In the syslog I always get the following error:
Quote:
Indre dhcpd: unable to add reverse map from 2.0.168.192.in-addr.arpa. to TESTIF002851.localnet: timed out
|
this comes after:
Quote:
Added new forward map from TESTIF002851.localnet to 192.168.0.2
|
I really don't know what to do or what to look for anymore.. i've googled a lot that's for sure
If you think this is a stupid problem, please give me a hint at least :s
I'll include my config files for better understanding. If more information is needed, please ask me.
THX in advance
named.conf:
Quote:
key "rndc-key" {
algorithm HMAC-MD5;
secret "KEYHERE";
};
options {
directory "/etc/bind";
listen-on { 127.0.0.1; 192.168.0.1; };
notify yes;
forwarders {
212.166.2.10;
};
auth-nxdomain no;
};
controls {
inet 127.0.0.1 allow { localhost; } keys { "rndc-key"; };
};
logging {
channel "named_log" {
file "/var/log/named.log" versions 10 size 500k;
severity debug;
print-category yes;
print-severity yes;
print-time yes;
};
channel "query_log" {
file "/var/log/bindquery.log" versions 10 size 500k;
severity debug;
print-severity yes;
print-time yes;
print-category yes;
};
category default { named_log; };
category queries { query_log; };
};
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";
};
zone "localnet" {
type master;
file "/etc/bind/db.building";
allow-update { key rndc-key; };
};
|
dhcpd.conf:
Quote:
server-identifier indre;
authoritative;
log-facility local7;
ddns-update-style interim;
ddns-updates on;
ddns-domainname "localnet";
key "rndc-key" {
algorithm HMAC-MD5;
secret "KEYHERE";
};
zone localnet {
primary 127.0.0.1;
key rndc-key;
}
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.2 192.168.0.254;
option broadcast-address 192.168.0.255;
option domain-name "localnet";
default-lease-time 7200;
max-lease-time 604800;
option domain-name-servers 192.168.0.1;
option routers 192.168.0.1;
}
|
db.building:
Quote:
$ORIGIN .
$TTL 86400 ; 1 day
localnet IN SOA indre. root.indre. (
2 ; serial
28800 ; refresh (8 hours)
7200 ; retry (2 hours)
864000 ; expire (1 week 3 days)
86400 ; minimum (1 day)
)
NS indre.
A 192.168.0.1
$ORIGIN localnet.
$TTL 3600 ; 1 hour
TESTIF002851 A 192.168.0.2
TXT "31351c6d438e2a024e737acabc1c4bc021"
|