Thank you for your reply. To point my devices to the adguard dns service I set the ip of the raspberry in my UniFi controller (network set-up). When I do this every few hours I seem to lose all internet connection. Devices are still connected to my AP but no internet. Also the USG hasn’t got any internet. When I remove the ip of the raspberry out my UniFi and replace with 8.8.8.8 connection is stable for 2days. So very strange behavior.