Changes in C:\Windows\System32\drivers\etc\hosts (/etc/hosts) don't seem to reflect until a restart of insomnia, however the same is not an issue on Ubuntu (18.04). Some services we develop resolve some information from the domain name, for which we need to point that domain to localhost for testing.
Eg.

馃憢 Thanks for opening your first issue! If you're reporting a 馃悶 bug, please make sure
you include steps to reproduce it. If you're requesting a feature 馃巵, please provide real
use cases that would benefit. 馃應
To help make this a smooth process, please be sure you have first read the
contributing guidelines.
It might be because Insomnia reuses network connections (well, libcurl does)when it can. Do you know if it will eventually refreshes? It looks like libcurl's default DNS cache is set to 60 seconds.
That seems to do the trick, lookup is successful after about 60 seconds. Thanks!
It might be because Insomnia reuses network connections (well,
libcurldoes)when it can. Do you know if it will eventually refreshes? It looks likelibcurl's default DNS cache is set to 60 seconds.
@gschier Add request header Connection: close can disable connection reuse. Do you know how to disable libcurl's DNS cache in insominia?
I use same domain name in different environments (e.g. QA/PRE/PROD). Disable cache can really helps in switch env scenario.
Most helpful comment
It might be because Insomnia reuses network connections (well,
libcurldoes)when it can. Do you know if it will eventually refreshes? It looks likelibcurl's default DNS cache is set to 60 seconds.