Closed rich-murphey closed 4 years ago
This is fixed in v0.7.0 version of the library. Generally we should probably make it more easily upgradable (Currently every new option requires major version bump). But in the meantime it looks like trust-dns-resolver updated their dependency, so probably it should work already.
On a up-to-date Ubuntu 20.04.1 LTS, I'm seeing an issue when /etc/resolv.conf contains the option "trust-ad":
And removing the word "trust-ad" from /etc/resolv.conf fixes the issue -- no error occurs when "trust-ad" is missing.
I'm seeing this when using drill, which uses reqwest, which uses resolv-conf, as follows:
Sorry for not submitting a PR. I'd be glad to if needed.