TTL when updating via DDNS
Marc Muehlfeld
Marc.Muehlfeld at medizinische-genetik.de
Wed Jul 9 13:55:44 UTC 2008
Glenn Satchell schrieb:
> If you have hosts being deleted from the zone file then you have a
> different problem. Are your clients successfully renewing their leases?
> Are there any log messages indicating that dhcpd asked for the zone
> entry to be deleted? Is there anything related to this inthe (I assume)
> bind logs?
dhcpd.log (without any other messages of this computer before and after):
Jul 9 13:19:21 nucleus dhcpd: delete 179.0.1.10.in-addr.arpa. IN PTR: success.
Jul 9 13:19:21 nucleus dhcpd: delete proben-05.clt.mr.lfmg.de IN A
10.1.0.179: success.
This are the named log entries that appear at the same time:
09-Jul-2008 13:19:21.000 update: info: client 192.168.29.2#33018: updating
zone '0.1.10.in-addr.arpa/IN': deleting rrset at '179.0.1.10.in-addr.arpa' PTR
09-Jul-2008 13:19:21.049 update: info: client 192.168.29.2#33018: updating
zone 'clt.mr.lfmg.de/IN': deleting an RR
> Can you please post your dhcpd config file (or a reasonable example if
> it is huge).
This are just the global options and one subnet declaration of my dhcpd.conf:
ignore client-updates;
ddns-update-style ad-hoc;
update-static-leases true;
ddns-domainname "mydomain.tld";
key DHCP_UPDATER { algorithm HMAC-MD5.SIG-ALG.REG.INT; secret ............; };
zone mydomain.tld . { primary 192.168.29.2; key DHCP_UPDATER; }
zone 0.1.10.in-addr.arpa. { primary 192.168.29.2; key DHCP_UPDATER; }
authoritative;
one-lease-per-client true;
log-facility local7;
# Default lease time is 5 days
default-lease-time 432000;
# Maximum lease time is 6 days
max-lease-time 518400;
option domain-name-servers 192.168.29.2, 192.168.29.4;
option netbios-name-servers 192.168.29.4;
subnet 10.1.0.0 netmask 255.255.255.0 {
option domain-name "mydomain.tld";
option broadcast-address 10.1.0.255;
option routers 10.1.0.5;
# IT-Hosts with fix IPs via DHCP (10.1.0.240/28)
pool {
range 10.1.0.241
deny unknown-clients;
host it-01 { hardware ethernet 00:18:F3:08:B0:42;
fixed-address 10.1.0.254; }
}
# Printer with fix IPs via DHCP (10.1.0.16/28)
pool {
range 10.1.0.17;
deny unknown-clients;
host ZETLP2844-9 { hardware ethernet 00:17:9A:AE:38:F0;
fixed-address 10.1.0.25; }
}
# All other DHCP clients
pool {
range 10.1.0.100 10.1.0.200;
}
}
More information about the dhcp-users
mailing list