Dynamic DNS with bind9 and dhcp3
Daniel Hecken
daniel.hecken at gmx.de
Wed Sep 29 10:46:56 UTC 2004
Hello newsgroup,
I have installed debian sarge, with bind9 and dhcp3, on one of my
machines. The bind and dhcp server are running perfectly, but I don't
seem to get the dynamic dns update to work. In syslog it always says:
"Unable to add forward map from apvorne.bahntechnik.de to 192.168.0.220:
timed out"
Please help
Daniel Hecken
PS. Here are my named.conf and dhcp.conf
named.conf.local
key "DHCP_UPDATER" {
algorithm HMAC-MD5.SIG-ALG.REG.INT;
secret "bc1q6/IRPZ159EEmGnI8TQ==";
};
zone "bahntechnik.de" {
type master;
notify no;
file "/etc/bind/bahntechnik.de.hosts";
allow-update { key "DHCP_UPDATER"; 127.0.0.1; 192.168.0.171; };
};
zone "0.168.192.in-addr.arpa" {
type master;
file "/etc/bind/192.168.0.rev";
allow-update { key "DHCP_UPDATER"; 127.0.0.1; 192.168.0.171; };
};
dhcp.conf
dhcp.confddns-updates on;
ddns-update-style interim;
ddns-domainname "bahntechnik.de";
update-static-leases on;
ignore client-updates;
key "DHCP_UPDATER" {
algorithm HMAC-MD5.SIG-ALG.REG.INT;
secret "bc1q6/IRPZ159EEmGnI8TQ==";
};
zone bahntechnik.de. {
primary 192.168.0.171;
key "DHCP_UPDATER";
}
zone 0.168.192.in-addr.arpa. {
primary 192.168.0.171;
key "DHCP_UPDATER";
}
default-lease-time 600;
max-lease-time 7200;
authoritative;
log-facility local7;
subnet 192.168.0.0 netmask 255.255.255.0 {
option domain-name "bahntechnik.de";
option domain-name-servers 192.168.0.171;
option subnet-mask 255.255.255.0;
option routers 192.168.0.100;
range 192.168.0.200 192.168.0.219;
# Access Point Vorne
host apvorne {
ddns-hostname "apvorne";
option host-name "apvorne";
hardware ethernet 00:0f:8f:fd:b4:bd;
fixed-address 192.168.0.220;
}
# Access Point Hinten
host aphinten {
ddns-hostname "aphinten";
option host-name "aphinten";
hardware ethernet 00:0f:8f:fd:b5:85;
fixed-address 192.168.0.221;
}
}
More information about the bind-users
mailing list