Editing the config to replace with your ddns should work.

Can I know what is the wireguard client?

When it stopped working, is the public IP really change? Just to make sure the connection is broken because of changing of public IP, not something else.