How do I turn off the remote DNS function?

I want to make all DNS requests go directly to local.