Coder Social home page Coder Social logo

Comments (7)

hatoo avatar hatoo commented on August 17, 2024

[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.

svenstaro avatar svenstaro commented on August 17, 2024

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.

hatoo avatar hatoo commented on August 17, 2024

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.

svenstaro avatar svenstaro commented on August 17, 2024

Yep, that suspicion is correct!
Output:

Error: no record found for name: internal.host type: A class: IN

from oha.

hatoo avatar hatoo commented on August 17, 2024

So, Please send this issue to https://github.com/bluejekyll/trust-dns

from oha.

svenstaro avatar svenstaro commented on August 17, 2024

Ok done.

from oha.

svenstaro avatar svenstaro commented on August 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.