Comments (7)
[69] no record found for name: internal.host type: A class: IN
oha --ipv4 -q 200 -n 2000 https://internal.host/test
It looks only 69 lookups ware failed while there were 2000 requests.
Is it right? or all requests ware failed? Could you paste oha
's all final output here?
from oha.
All requests failed, I was just impatient.
Summary:
Success rate: 0.0000
Total: 10.0520 secs
Slowest: -inf secs
Fastest: inf secs
Average: 0.0000 secs
Requests/sec: 198.9657
Total data: 0.00 B
Size/request: NaN
Size/sec: 0.00 B
Response time histogram:
Latency distribution:
10% in NaN secs
25% in NaN secs
50% in NaN secs
75% in NaN secs
90% in NaN secs
95% in NaN secs
99% in NaN secs
Details (average, fastest, slowest):
DNS+dialup: 0.0000 secs, inf secs, -inf secs
DNS-lookup: 0.0000 secs, inf secs, -inf secs
Status code distribution:
Error distribution:
[2000] no record found for name: internal.host type: A class: IN
from oha.
Currently oha
resolves a host using trust-dns-resolver.
So I think the issue is likely caused by trust-dns-resolver.
I created a small program that resolves a host via trust-dns-resolver and I believe it's almost the same as oha
does.
https://github.com/hatoo/oha-56
Could you run this in your environment?
If this program also fails, we can confirm that this is an issue of trust-dns-resolver.
from oha.
Yep, that suspicion is correct!
Output:
Error: no record found for name: internal.host type: A class: IN
from oha.
So, Please send this issue to https://github.com/bluejekyll/trust-dns
from oha.
Ok done.
from oha.
Alright so I've followed up with the author of trust_dns
(read here) and as it turns out, I believe you've used it slightly incorrectly. You didn't grab the system config and as such, it defaulted to the Google DNS only while ignoring the resolv.conf.
I made #59 to fix this. It also has a second fix for spurious resolver errors and works around that by limiting the number of concurrent requests to 1. See hickory-dns/hickory-dns#933 for that.
from oha.
Related Issues (20)
- Profile-Guided Optimization (PGO) improvements HOT 2
- Wrong host path parsing HOT 2
- 0.6.1 contains a trojan? HOT 4
- It does not work on Windows 10 HOT 3
- Adding delay between requests HOT 14
- oha v0.6.1 HTTP/2 is not supported yet HOT 1
- incorrect header host value? HOT 1
- (Question) How can I pass a JSON body? HOT 2
- Can't communicate to `www.google.com` via HTTP/2
- Make `rustls` as a default (or perhaps drop native-tls)
- Websocket support HOT 1
- Update axum dependecies to 0.7
- Printer's tests are unstable
- Frequent OOM kills - Isolated to`http2` - 50 GB of RAM usage on MacBook, causing system OOM HOT 5
- Stats collection causes unbounded memory growth, slowing RPS over time HOT 1
- [HTTP2] Reconnect TCP connection when it fails HOT 1
- Consider connection timeout
- Consider adding reconnectiong delay
- Error distribution: [10] invalid peer certificate: Other(CaUsedAsEndEntity) HOT 1
- Add requirements HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oha.