Do you mean Off/On DNS Privacy?
Theoretically, this can be realized.
But you still have to turn it Off/On manually. Siri will only help you to enter the right menu, bypassing the rest of the settings.
Hello, sorry to intrometter myself here, but I’ve been searching for a similar feature for long time. I need to create a shortcut (in automation) that works every time I open YouTube and activate dns. Than, once I close YouTube app, it should shut down itself. Is it possible?