Skip to content

Custom DNS set in Client is not used for IP addresses in OkHttp 5.x #9132

@jnh5y

Description

@jnh5y

I found this issue while upgrading from version 4.10.0 to 5.1.0.

It appears that a custom DNS set on a client is never called. Here is a gist with a working test in 4.10.0 and a failing one with 5.1.0.

https://gist.github.com/jnh5y/c1290f4808f9a9b81760de007a58e151

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug in existing code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions