support $RESOLVCONF keyword in forwarding rules#3117
support $RESOLVCONF keyword in forwarding rules#3117nlintn wants to merge 1 commit intoDNSCrypt:masterfrom
Conversation
3ae5f72 to
5cdf690
Compare
|
The format of Also, how does it work on Windows? |
|
As the resolvers of all of So Windows doesn't have a file containing the system resolvers (probably uses it's registry for that). As windows generates a |
|
Thank you! :) |
This adds the
$RESOLVCONF:<file>keyword/function, which forwards the request to the resolvers specified in<file>(using resolv.conf syntax).Use cases include:
/etc/resolv.conf(provided your system uses this file)/var/run/NetworkManager/resolv.conf, created by NetworkManager, or/run/systemd/resolve/resolv.conf, created by systemd-networkd); in comparison to the$DHCPkeyword this doesn't require root privileges on Linux and we don't have to send DHCP messages ourselves