Skip to content

Can hostnameOverride of makeClientConfigurationBackedByNIOSSL achieving custom dns feature? #2267

@yiran008

Description

@yiran008

What are you trying to achieve?

I'm trying to achieve custom dns feature, when client get host name, I will make a custom dns using private service, Like www.abc.com => 1.2.3.4, then I use 1.2.3.4 to make a connection

What have you tried so far?

I tried use makeClientConfigurationBackedByNIOSSL, And set hostnameOverride with originHostName, then
connect host with ip address fetched by custom dns service, And this works, I'm not sure if I did right

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions