GitHub user lhotari added a comment to the discussion: Unnecessary DNS lookup 
errors in logs

Adding the trailing dot isn't compatible when tls hostname verification is 
enabled. One possible solution is to use a separate API in Pulsar client to 
configure the Netty DNS resolver with `ndots(0)` or setting the search domains 
to an empty list.
One example of using the API (not specific to this use case)
https://github.com/apache/pulsar/blob/8559b689fc6cdca2d6e13aeffb56996fc46a6f04/pulsar-client/src/test/java/org/apache/pulsar/client/impl/PulsarClientSharedResourcesBuilderImplTest.java#L115-L135

GitHub link: 
https://github.com/apache/pulsar/discussions/24030#discussioncomment-17522655

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to