Skip to content

Insomnia 2021.2.0 doesn't use local dns server #3234

@xwillq

Description

@xwillq

Describe the bug
Latest version of insomnia doesn't use local dns server if there are any other options

To Reproduce
Steps to reproduce the behavior:

  1. Configure local dns server
  2. Configure local dns server as preferred and some other server as alternative (for example 1.1.1.1)
  3. Make a request to the domain which should be resolved with local dns server
  4. See Error: Couldn't resolve host name
  5. If you capture traffic with wireshark or check logs of local dns server, you can see that it didn't receive any queries

Expected behavior
Insomnia uses local dns server for dns lookups

Screenshots
DNS lookup when making request with Insomnia 2021.1.1
image

DNS lookup when making request with Chrome
image

DNS lookup when making request with Insomnia 2021.2.0
image

Desktop:

  • OS: Windows 10
  • Installation Method: Installer from github releases
  • App Version: 2021.2.0

Additional context
If you remove all dns servers except the localhost, then insomnia will use localhost.

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-bugBug: general classificationD-node-libcurlDependency: Node LibcurlP-criticalPriority: CriticalS-shippedStatus: ShippedS-verifiedStatus: Verified by maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions