# Logstash Kafka input DNS lookup for Kafka is not working

**URL:** <https://discuss.elastic.co/t/logstash-kafka-input-dns-lookup-for-kafka-is-not-working/335862>\
**Category:** Logstash\
**Created:** [June 13, 2023, 10:53am UTC](https://discuss.elastic.co/t/logstash-kafka-input-dns-lookup-for-kafka-is-not-working/335862 "2023-06-13T10:53:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![youngin.son.naver](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/youngin.son.naver/32/122185_2.png) [@youngin.son.naver](https://discuss.elastic.co/u/youngin.son.naver)\
**Post date:** [June 13, 2023, 10:53am UTC](https://discuss.elastic.co/t/logstash-kafka-input-dns-lookup-for-kafka-is-not-working/335862/1 "2023-06-13T10:53:45Z")

</div>

Using Logstash 7.12.1 and Kafka input option,  
Logstash does not automatically do DNS lookup when Kafka cluster has been restarted.

```auto
[org.apache.kafka.clients.NetworkClient][main][kafka_test] [Consumer clientId= ******.local-0, groupId=logstash] Connection to node 0 

```

It keeps printing this log .... It seems Logstash is not trying to do DNS lookup again after bootstrapping, is it intended behavior? Or fixed in the latest version?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 11, 2023, 10:54am UTC](https://discuss.elastic.co/t/logstash-kafka-input-dns-lookup-for-kafka-is-not-working/335862/2 "2023-07-11T10:54:30Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
