I do something similar but with a global keyboard shortcut on my Mac managed with Alfred. When I hit the shortcut it just changes my system's DNS resolver to 1.1.1.1 and reset the macOS DNS cache. And then automatically switches back in 1 minute or 10 minutes depending on the shortcut.
Quite easy, but doesn't help anyone but me. Though I like that it only disables blocking on my device and not my entire network.
Quite easy, but doesn't help anyone but me. Though I like that it only disables blocking on my device and not my entire network.