I want to set up a DNS server on my network. I want to keep it simple and just use
$(hostname -s).catpants.lan as the DNS entry for each system on my network. Internal DNS only.
Is there a way I can make each of my systems automatically tell the DNS server their hostname and IP? Or do I have to edit a config on my DNS server every time I spin up a new vm? Is there a name for this particular way of doing DNS?
To keep it simple, all systems on my network are running Linux.