newbie: dynamic dns and dhcp on suse 8.2
remanance
nutsnbolts at vsnl.com
Sat Mar 6 03:44:50 UTC 2004
Hi,
I'v configured bind9 and dhcpd as given in the
/usr/share/doc/packages/dhcp-server/DDNS-HOWTO.txt. The windows
clients are accepting all IP address, wins, gateway settings, but
dhcpd is not dynamically updating named.
I get the folloinwg message:
Mar 5 16:23:02 penguin dhcpd: DHCPREQUEST for 192.168.2.50 from
00:00:21:d9:e0:cb (tecdir) via eth1
Mar 5 16:23:02 penguin dhcpd: DHCPACK on 192.168.2.50 to
00:00:21:d9:e0:cb (tecdir) via eth1
Mar 5 16:23:05 penguin dhcpd: Unable to add forward map from
tecdir.rre.lan to 192.168.2.50: timed out
I would appreciate and help. Thank you in advance,
Kartik
My dhcpd.conf is:
-----------------
max-lease-time 604800;
default-lease-time 259200;
option netbios-name-servers 192.168.1.1;
option netbios-node-type 8;
option netbios-scope "";
option domain-name-servers 192.168.1.1;
option domain-name "rre.lan";
option broadcast-address 255.255.255.255;
option subnet-mask 255.255.255.0;
option routers 192.168.1.1;
option host-name "penguin.rre.lan";
ddns-update-style interim;
ignore client-updates;
key update.1.168.192.in-addr.arpa. {
algorithm hmac-md5;
secret "nEf3bj2MWoNT5Q3UAmfk2R2+1/KZCm6bP0C5MptiKZ1fHZCJZJ1N4dhxFZApwFQlUWPhRFUVq4v7uLzIUjDRPQ==";
}
zone 1.168.192.in-addr.arpa {
key update.1.168.192.in-addr.arpa.;
}
#ignore client-updates;
authoritative;
log-facility local7;
# Office Network
subnet 192.168.1.0 netmask 255.255.255.0 {
max-lease-time 604800;
default-lease-time 259200;
range 192.168.1.1 192.168.1.50;
}
# Factory Network
subnet 192.168.2.0 netmask 255.255.255.0 {
max-lease-time 604800;
default-lease-time 259200;
range 192.168.2.1 192.168.2.50;
}
-------------------------------------------
My named.conf is:
-----------------
zone "localhost" in {
type master;
file "localhost.zone";
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "127.0.0.zone";
};
# You can insert further zone records for your own domains below.
key DHCP_UPDATER {
algorithm hmac-md5;
secret "nEf3bj2MWoNT5Q3UAmfk2R2+1/KZCm6bP0C5MptiKZ1fHZCJZJ1N4dhxFZApwFQlUWPhRFUVq4v7uLzIUjDRPQ==";
};
zone "rre.lan" in {
type master;
file "rre.lan.zone";
allow-update {key DHCP_UPDATER;};
};
zone "1.168.192.in-addr.arpa" in {
type master;
file "192.168.1.zone";
allow-update {key DHCP_UPDATER;};
};
--------------------------------------------------------------
More information about the bind-users
mailing list