# Add "PROXY protocol" Support -\> quick win: DoH, DOT, DNSCrypt, Loadbalancing, dns rulesets with dnsdist

**URL:** <https://discourse.pi-hole.net/t/add-proxy-protocol-support-quick-win-doh-dot-dnscrypt-loadbalancing-dns-rulesets-with-dnsdist/28166>\
**Category:** Feature Requests\
**Created:** [February 11, 2020, 9:06pm UTC](https://discourse.pi-hole.net/t/add-proxy-protocol-support-quick-win-doh-dot-dnscrypt-loadbalancing-dns-rulesets-with-dnsdist/28166 "2020-02-11T21:06:51Z")\
**Posts on this page:** 1\
**Showing post:** 22

<div class="post-metadata">

**Author:** ![christian82](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/c/dc4da7/32.png) [@christian82](https://discourse.pi-hole.net/u/christian82)\
**Post date:** [September 8, 2020, 9:08pm UTC](https://discourse.pi-hole.net/t/add-proxy-protocol-support-quick-win-doh-dot-dnscrypt-loadbalancing-dns-rulesets-with-dnsdist/28166/22 "2020-09-08T21:08:36Z")

</div>

> [@DL6ER](#):
>
> There is no mentioning of how it would integrate with DNS

The proxy protocol has nothing to do with dns, it is a general approach to keep the client IP address when passing the protocol through a proxy.

Here is an example script for the encoding, I don't have a pcap.

> [GitHub - ably/proxy-protocol-v2: A simple encoder and decoder for the proxy protocol v2 binary format](https://github.com/ably/proxy-protocol-v2)

---

_[View the full topic](https://discourse.pi-hole.net/t/add-proxy-protocol-support-quick-win-doh-dot-dnscrypt-loadbalancing-dns-rulesets-with-dnsdist/28166)._
