-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"trust-ad" in /etc/resolv.conf causes error on Ubuntu 20.04.1 #25
Comments
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. |
rbuysse
added a commit
to rbuysse/splinter
that referenced
this issue
May 3, 2021
"ubuntu-latest" GHA runners are based on Ubuntu Focal, which includes the option "trust-dns" in /etc/resolv.conf. Docker containers inherit DNS settings from the host, including the contents of /etc/resolv.conf. Through a chain of dependencies, version 0.6.3 of resolv-conf is being used which contains a bug in parsing resolv.conf files containing the option "trust-dns". This was fixed in 0.7.0 but we're unable to update without updating actix. This commit can be reverted once actix is updated to a newer version which pulls in resolv-conf >= 0.7.0. hickory-dns/resolv-conf#25 Signed-off-by: Ryan Beck-Buysse <[email protected]>
rbuysse
added a commit
to rbuysse/splinter
that referenced
this issue
May 3, 2021
"ubuntu-latest" GHA runners are based on Ubuntu Focal, which includes the option "trust-dns" in /etc/resolv.conf. Docker containers inherit DNS settings from the host, including the contents of /etc/resolv.conf. Through a chain of dependencies, version 0.6.3 of resolv-conf is being used which contains a bug in parsing resolv.conf files containing the option "trust-dns". This was fixed in 0.7.0 but we're unable to update without updating actix. This commit can be reverted once actix is updated to a newer version which pulls in resolv-conf >= 0.7.0. hickory-dns/resolv-conf#25 Signed-off-by: Ryan Beck-Buysse <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: