DNS Records are removed after VM shutdown

Exactly the same problem as described here: https://social.technet.microsoft.com/Forums/en-US/db44ea7b-43f4-44a3-8df3-a0608414f15c/static-dns-record-gets-removed-when-dhcp-client-shutdown?forum=ws2019

I got an Ubuntu Linux 18.04.2 VM which is in an (IPv4) DHCP-based network. For some strange reason my DNS A record and reverse record is (nearly instantly) removed from my DNS servers on shutting down the VM (and recreated upon starting the machine again).

Is there any way to prove it’s not the VM?

The machine is vanilla, using the stock dhclient with no custom config. /etc/network/interfaces is configured like that:

# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5).  # The loopback network interface auto lo iface lo inet loopback  # The primary network interface auto eth0 iface eth0 inet dhcp 

/var/log/syslog (greping for dhclient shows the following information):

Jul 29 11:57:37 sq dhclient[9416]: Killed old client process Jul 29 11:57:38 sq dhclient[9416]: Internet Systems Consortium DHCP Client 4.3.5 Jul 29 11:57:38 sq dhclient[9416]: Copyright 2004-2016 Internet Systems Consortium. Jul 29 11:57:38 sq dhclient[9416]: All rights reserved. Jul 29 11:57:38 sq dhclient[9416]: For info, please visit https://www.isc.org/software/dhcp/ Jul 29 11:57:38 sq dhclient[9416]: Jul 29 11:57:38 sq dhclient[9416]: Listening on LPF/eth0/00:50:56:85:36:f8 Jul 29 11:57:38 sq dhclient[9416]: Sending on   LPF/eth0/00:50:56:85:36:f8 Jul 29 11:57:38 sq dhclient[9416]: Sending on   Socket/fallback Jul 29 11:57:38 sq dhclient[9416]: DHCPRELEASE on eth0 to 192.168.0.9 port 67 (xid=0x39f2acec) Jul 29 12:10:06 sq dhclient[9548]: Internet Systems Consortium DHCP Client 4.3.5 Jul 29 12:10:06 sq dhclient[9548]: Copyright 2004-2016 Internet Systems Consortium. Jul 29 12:10:06 sq dhclient[9548]: All rights reserved. Jul 29 12:10:06 sq dhclient[9548]: For info, please visit https://www.isc.org/software/dhcp/ Jul 29 12:10:06 sq dhclient[9548]: Jul 29 12:10:06 sq dhclient[9548]: Listening on LPF/eth0/00:50:56:85:36:f8 Jul 29 12:10:06 sq dhclient[9548]: Sending on   LPF/eth0/00:50:56:85:36:f8 Jul 29 12:10:06 sq dhclient[9548]: Sending on   Socket/fallback Jul 29 12:10:06 sq dhclient[9548]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 (xid=0x620e7229) Jul 29 12:10:06 sq dhclient[9548]: DHCPREQUEST of 192.168.0.53 on eth0 to 255.255.255.255 port 67 (xid=0x29720e62) Jul 29 12:10:06 sq dhclient[9548]: DHCPOFFER of 192.168.0.53 from 192.168.0.9 Jul 29 12:10:06 sq dhclient[9548]: DHCPACK of 192.168.0.53 from 192.168.0.9 Jul 29 12:10:09 sq dhclient[9548]: bound to 192.168.0.53 -- renewal in 39872 seconds. 

So no surprises here, either.