I have two Pi systems on my LAN here at home, one just provides DNS using dnsmasq and the other has a big external USB drive for backups.
The DNS Pi has a static IP of 192.168.1.2.
If the DNS Pi dies I want to quickly configure the backup Pi to provide DNS. The main thing required for this to work is to give it a static IP of 192.168.1.2 and to configure dnsmasq on it.
Copying the dnsmasq configuration across is easy enough, I can simply synchronise /etc/dnsmasq.conf and /etc/dnsmasq.d between the two systems and that's done. As long as I don't actually run dnsmasq on the backup machine all will be well.
So, if/when the DNS Pi dies all I need to do is:-
Configure the backup machine to have a static IP of 192.168.1.2
Copy the dnsmasq.leases file (I'm keeping a live copy of that)
Start dnsmasq
Simple! :-)
Is the configuration in /etc/dhcpcd.conf *all* that's needed for a static IP?