How does Bruno resolve DNS? #5568
Unanswered
JJ-Kamminga
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hey @JJ-Kamminga Bruno internally uses const axios = require('axios');
async function main() {
try {
const res = await axios.get('https://www.google.com');
console.log('Status:', res.status);
console.log('Headers:', res.headers['content-type']);
console.log('Body length:', res.data.length);
} catch (err) {
console.error('Request failed:', err.message);
}
}
main(); Also, has this worked in a previous API client that you were using ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have an issue resolving a URL:
DNS lookup error for *****: getaddrinfo ENOTFOUND
. The URL is in a protected network, to which I connect via a VPN. I am trying to connect to a simple endpoint/version
from my Ubuntu 25.04 machine.Browser, curl, ping, nslookup all resolve correctly.
If I connect to the IP address instead of the URL, it also resolves. (But I want the hostname resolution to be part of the tests, so just configuring IP's is not desirable.)
I've scoured all the settings, docs and issues, but it is still unclear to me how Bruno resolves DNS (and how I can fix this issue).
Beta Was this translation helpful? Give feedback.
All reactions