question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Insomnia 2021.2.0 doesn't use local dns server

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

14reactions
illuzcommented, Mar 24, 2021

The same problem after upgrade to 2021.2.0 today.

3reactions
nijikokuncommented, Mar 24, 2021

Update: new build for node-libcurl is up, we are preparing a new patch release for Insomnia which is going into testing and will be released shortly. Thank you to everyone who was a part of making this happen. ❤️

Test build can be found here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Changelog - Insomnia REST
This patch addresses a regression found in 2021.2.0 where users were unable to make requests against localhost on certain platforms like Windows and...
Read more >
DNS forwarding for local domain stopped working with latest ...
I have a config for dnsmasq which forwards queries for my local domain to another DNS server, this has been working perfectly for...
Read more >
DNS Servers may fail to resolve queries for some top-level ...
Provides a solution to an issue where DNS Servers may fail to resolve queries for names in certain top-level domains.
Read more >
What Is DNS Cache and How to Flush It - KeyCDN Support
Basically, a DNS server is used to resolve a particular domain to its ... Therefore, even if the local DNS cache is empty,...
Read more >
Why don't Firefox and Chrome respect my local DNS resolver?
1.100) which is configured to return the IP address of servers on my local network for specific domain names (they're all hosted on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found