My wireguard is working OK. But when I change the endpoint host, save and restart, (or even reboot) the interface then still reports it is connecting to the old IP. Even if I manually check the config file, the correct IP I've entered is there. Is there some bug involved here where there's some sort of caching or am I doing something wrong?
thanks
Is it IP or hostname you are using?
if Hostnames then there is the caching TTL on the various hop between your router and the other wireguard endpoint to take into consideration.