Secure DNS and local intranet or localhost

Hi,

I use Dragon for development and that works great if i disable Secure DNS.
But i would like to have that enabled for normal internet browsing

Is there a way to exclude localhost and local intranet sites from Secure DNS?
I can only disable or enable Secure DNS. No further options.

btw. I use Secure DNS in Dragon only and not system wide