Wireguard, DDNS, no connection after server ISP IP changed

yes i looks like it
i just thought maybe there is some good solution without making any scripts like some parametrs in wire guard