when is a DHCP server supposed to remove A and PTR records?

Marc Haber mh+dhcp-users at zugschlus.de
Wed Jul 8 12:27:50 UTC 2015


I am using DHCP server 4.3.2, running on Debian stable. The server is
configured to create DNS records for clients:

default-lease-time 14400; # 12 hours
max-lease-time 14400;  # 12 hours
not authoritative;
ddns-rev-domainname "in-addr.arpa.";

zone ka51.zugschlus.de. {
  primary lasso.ka51.zugschlus.de;
  key lasso-chasse-dhcp;

subnet netmask {
  pool {
    failover peer "chasse-cadencia"; # the other side does not exist yet
  option routers int182.barrida.ka51.zugschlus.de;
  ddns-domainname "ka51.zugschlus.de";

zone 182.168.192.in-addr.arpa. {
  primary lasso.ka51.zugschlus.de;
  key lasso-chasse-dhcp;

The server creates A and PTR records just fine:

[1/499]mh at lasso:~$ dig +noall +answer @::1 grml.ka51.zugschlus.de. -t ANY; dig +noall +answer @::1 -t ANY
grml.ka51.zugschlus.de. 150     IN      A
grml.ka51.zugschlus.de. 150     IN      DHCID   AAABXpcYBFwbrFx8RVNPtzwhrrTkbLs/asQOPK8nr65lFtc= 150 IN    PTR     grml.ka51.zugschlus.de.

Under which circumstances is the server supposed to remove the DNS
records? From the docks, I reckon that it should remove them when the
lease expires. According to the logs of the DNS server, it doesn't,

Is that the expected behavior? I'd like systems that are not up to not
be in DNS either. Can this be configured, and if yes, how?

Any hints will be appreciated.


Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421

More information about the dhcp-users mailing list