This is a dnscrypt plugin to masquerade DNS queries according with a hosts-like configuration file
- cmake
- ldns
$ cmake . && make
The resulting plugin can be copied anywhere on the system.
Create a hosts.mask file to configure what DNS should be masqueraded. The default location for this file is /usr/local/etc/hosts.mask
The plugin can then be loaded like any regular dnscrypt plugin, such as:
$ sudo dnscrypt-proxy --plugin=lib_masquerade,--hosts=/etc/hosts.mask