Skip to content
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

live-tests: avoid relying on poorly-behaving DNS #7267

Merged
merged 1 commit into from
Dec 18, 2024
Merged

Conversation

iliana
Copy link
Contributor

@iliana iliana commented Dec 18, 2024

  1. Live tests don't currently run because the check that you are on an underlay network asks internal DNS for A/AAAA records for internal DNS (via hickory_resolver::Resolver::lookup_ip). We don't have those, but prior to [dns-server] only return answers to the incoming question #6308 we responded with whatever records we had for a given name regardless of what type the query asked for. Live tests aren't run in CI so we missed it.
  2. internal_dns_resolver::Resolver::lookup_ip is now only used here and in a unit test that is arguably doing something similar, so we remove the function altogether.

@iliana iliana merged commit ad61b01 into main Dec 18, 2024
16 checks passed
@iliana iliana deleted the iliana/live-tests-fix branch December 18, 2024 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants