That is indeed the correct behaviour. You have to dectect the change on your own and stop the service, clear DNS cache, restart the service.
There ate scripts for that, maybe I might have written even on that.
You might have a look overhere: http://forum.mikrotik.com/t/wireguard-peer-not-functioning-after-a-router-restart/155286/44