You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2020/04/07 07:45:07 UTC

[Bug 64318] New: DNS Cache Manager - custom DNS resolver doesn't use system resolver by default

https://bz.apache.org/bugzilla/show_bug.cgi?id=64318

            Bug ID: 64318
           Summary: DNS Cache Manager - custom DNS resolver doesn't use
                    system resolver by default
           Product: JMeter
           Version: 5.2.1
          Hardware: PC
                OS: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: konstantin@kkalinin.pro
  Target Milestone: JMETER_5.3.0

Created attachment 37151
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37151&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64318] DNS Cache Manager - custom DNS resolver doesn't use system resolver by default

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64318

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |FixedInTrunk
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Felix Schumacher <fe...@internetallee.de> ---
Closed, as no feedback probably means, it works.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64318] DNS Cache Manager - custom DNS resolver doesn't use system resolver by default

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64318

--- Comment #1 from Felix Schumacher <fe...@internetallee.de> ---
I think you are right and it should fallback to the system DNS resolver.

Patches are welcome (sorry for the late reply)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64318] DNS Cache Manager - custom DNS resolver doesn't use system resolver by default

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64318

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #2 from Felix Schumacher <fe...@internetallee.de> ---
@Konstantin, could you test the next build from trunk or nightly?

commit da5fb8319b02666062e415f4823ee4bcde2a8639
Author: Felix Schumacher <fe...@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(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.