Skip to content

Unnecessary DNS lookup errors in logs #24030

Answered by lhotari
sindhushreem25 asked this question in Q&A
Discussion options

You must be logged in to vote

@sindhushreem25 You should use pulsar+ssl://pulsar-proxy.op.svc.cluster.local.:6651 as the serviceUrl in your client to avoid this issue. That will prevent all unnecessary DNS lookups on the client side. I hope that helps.
I haven't found any change on Netty side triggering this behavior. Using an absolute FQDN name will fix the issue. An absolute FQDN name is one that ends in the root domain, which is represented by the trailing dot. You can find more information about FQDN and the trailing dot here.

Replies: 2 comments 14 replies

Comment options

You must be logged in to vote
14 replies
@sindhushreem25
Comment options

@lhotari
Comment options

lhotari Mar 4, 2025
Collaborator

@sindhushreem25
Comment options

@lhotari
Comment options

lhotari Mar 7, 2025
Collaborator

@sindhushreem25
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by lhotari
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants