When the endpoint is DDNS and the IP changes, the connection will be interrupted and cannot be restored.
The only way to restore the connection is to change DDNS.
disable peer and then enable it ,can't solve this problem.Long standing bug (or feature, depending on who you ask) since inclusion of Wireguard in ROS.
If ddns name changes (or dns resolving is not available at start of wireguard interface), ROS does NOT try again to resolve.
So you're stuck.
Solutions:
1- yes, use the search function. This has been discussed already so much ...
2- (until fixed in ROS): toggle wireguard peer status (manually or automatically with a script), once enabled again, it will resolve dns and the sky will be blue again ...