I pushed the commit that combines this pull requests with some refactoring of the internals not to break the inter-module api as well as use straight flag meaning for domain lookup, instead of negative meaning.
It should not affect use from config, but testing would be good to do to be sure.