Created attachment 37151 [details] Example configuration Imagine we have the component config like on the screenshot in attachment. According to documentation (https://jmeter.apache.org/usermanual/component_reference.html#DNS_Cache_Manager), the component should use system DNS servers for everything except hosts listed in the static table. In fact, the component returns `null` for every hostname not present in the table. P.S. If the community confirms the bug, I can try fixing it.
I think you are right and it should fallback to the system DNS resolver. Patches are welcome (sorry for the late reply)
@Konstantin, could you test the next build from trunk or nightly? commit da5fb8319b02666062e415f4823ee4bcde2a8639 Author: Felix Schumacher <felix.schumacher@internetallee.de> AuthorDate: Sat Jan 2 21:26:44 2021 +0100 DNS Cache Manager - custom DNS resolver does not use system resolver by default Bugzilla Id: 64318 --- .../apache/jmeter/protocol/http/control/DNSCacheManager.java | 7 +++---- .../jmeter/protocol/http/control/DNSCacheManagerSpec.groovy | 10 ++++++++++ xdocs/changes.xml | 1 + 3 files changed, 14 insertions(+), 4 deletions(-)
Closed, as no feedback probably means, it works.
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5287