# Load balancing a 3 x Logstash behind PowerDNS setup

**URL:** <https://discuss.elastic.co/t/load-balancing-a-3-x-logstash-behind-powerdns-setup/163991>\
**Category:** Logstash\
**Created:** [January 12, 2019, 11:32am UTC](https://discuss.elastic.co/t/load-balancing-a-3-x-logstash-behind-powerdns-setup/163991 "2019-01-12T11:32:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![yaauie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yaauie/32/23363_2.png) [@yaauie](https://discuss.elastic.co/u/yaauie)\
**Post date:** [January 12, 2019, 4:43pm UTC](https://discuss.elastic.co/t/load-balancing-a-3-x-logstash-behind-powerdns-setup/163991/2 "2019-01-12T16:43:13Z")

</div>

The answers in this thread will probably help:

> [@Load balancing with a single Logstash output](https://discuss.elastic.co/t/load-balancing-with-a-single-logstash-output/55756/4):
>
> if I point Filebeat to a Logstash host with a DNS name of logstash.service.consul, which resolves to three IP addresses, can I expect Filebeat to load balance traffic across these three IP addresses? No. I'm wondering how/when Filebeat resolves DNS Filebeat queries for a list of all known IPs for some given host name. how/if Filebeat handles DNS records that resolve to multiple IP addresses Filebeat selects one of the IP-addresses by random and attempts to create exactly one network c…

---

_[View the full topic](https://discuss.elastic.co/t/load-balancing-a-3-x-logstash-behind-powerdns-setup/163991)._
