Use local dns in "forwarding-rules" #1964
Replies: 3 comments
-
The examples in the file: My hosts are assigned to the domain '.local' , so I use the line
The IP address needs to be the address of your router or your locally configured DNS - they'll receive the cleartext DNS Query. |
Beta Was this translation helpful? Give feedback.
-
I meant to use whatever DNS server returned from DHCP, instead of going through DoH. Preferred config is like:
|
Beta Was this translation helpful? Give feedback.
-
If you're trying to avoid passing local domains through dnscrypt-proxy, then the forwarding rules won't help -- that's a convenience that allows you to configure as many specific resolvers by domain as as you might need and to use an external resolver in all other cases. It's a powerful feature and it has the advantage of working across any platform - windows/macos/linux etc. It sounds like you're trying to address this at the operating system level instead - there's something on the link below about REHL being able to do that -- I assume any systemd based linux could do the same. |
Beta Was this translation helpful? Give feedback.
-
I have specific domains that would like to resolve use locally configured DNS, instead of going through dnscrypt-proxy.
How should I configure it in "forwarding-rules"?
Beta Was this translation helpful? Give feedback.
All reactions