Skip to content

investigate unreliability in test-dns-any  #31721

Closed
@Trott

Description

@Trott
  • Version: v14.0.0-pre (master branch)
  • Platform: n/a
  • Subsystem: dns

What steps will reproduce the bug?

Run test/internet/test-dns-any.js over and over.

How often does it reproduce? Is there a required condition?

About 50% of the time, but 100% of the time if you run it over and over.

What is the expected behavior?

The test will consistently pass, or consistently fail.

What do you see instead?

It passes sometimes, fails other times.

Additional information

The problem seems to be that Google's DNS servers sometimes return a whole bunch of records with an ANY query on google.com and other times only return A and AAAA. But the test expects all the records. You can verify the aforementioned Google DNS behavior (which may very well be correct for all I know) by running nslookup -type=ANY google.com 8.8.8.8 on the command line (on UNIX) over and over. Sometimes, you get a lot of records, and other times only A and AAAA.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dnsIssues and PRs related to the dns subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions