Yes. This option is available in the application. When you create a new Dynamic DNS updater, you can check the "Start when connected to selected WiFi network and stop when disconnected" option. It's the last option from the list. It should fix your problem.