Is there a replacement for "powerdown" now that the command is deprecated?
It still works... however not sure for how long.
Every post I've searched on this forum and Google says "powerdown" along with a more complicated shell script. All of which are great, but unnecessary of you're just SSH in and need to shut down safely.
If you use an A-record with a dynamic DNS, you will have to manually update in the Cloudflare DNS portion.
I recommend not setting an A-Record with IP for the domain; instead use a CNAME pointing the domain to a dynamic DNS host (one that can monitor your IP changes and updates automatically.)
I.E. (Not recommending any specific dynamic DNS hosts - just an example):
-Create a DuckDNS account and domain through them.
-Install the DuckDNS plugin on UnRAID
-In the Cloudflare DNS page for your "traditional" domain (i.e. mycooldomain.com)