I use pi-hole as my local DNS Server behind the router with provides also DNS.
I wrote two little graphical programs (Windows and MacOS) piholeonoff.exe and .app to switch between these two DNS Servers so you can switch pi-hole between your clients and the Internet and/or do a "direct connection".
The two programs are only starting Windwos System commands / Mac OS Applescript command to do this. These commands are editable for everyone.
If someone find any of the two useful i can send it over to you. Written in pureBasic.