Skip to content

DNS hosts file not respected after DNS lookup change #8067

Description

@dbradley771

JIRA

I have checked the following:

  • I have searched existing issues and found nothing related to my issue.

This bug is:

  • making Bruno unusable for me
  • slowing me down but I'm able to continue working
  • annoying
  • this feature was working in a previous version but is broken in the current release.

Bruno version

3.4.1

Operating System

Windows 11 262.00.8457

Describe the bug

Bruno does not use records set in the hosts file anymore if they exist in DNS. This seems to be a result of #7550 or #7664.

I'm currently using Bruno to test a brokered OAuth API running locally. To get the redirects with the upstream OAuth server to work correctly, the hosts file points the domain that normally hosts the API to localhost. With the recent change, Bruno ignores the override.

.bru file to reproduce the bug

No response

Screenshots/Live demo link

example.com is overwritten in the hosts file:

Image

Bruno still uses the public DNS record:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions