Changelog:
f80923b Make resolver testing configurable
881a757 Fix netenv resolver interaction
This release also contains test binaries for testing different dns resolvers. (Download them below in the assets section.)
Please note that the unit test starts some of the Portmaster's modules/components for the test and shuts them down afterwards. You can select how much you want to see by changing the log level (trace|debug|info|warning|error).
Usage:
# resolve 100 queries sequentially
./resolver.test -log debug -test.v -test.run Single -resolver dns://9.9.9.9:53
# resolve 100 queries at once
./resolver.test -log debug -test.v -test.run Bulk -resolver dns://9.9.9.9:53
For choosing a resolver, see https://github.com/safing/portmaster/wiki/DNS-Server-Settings