[dnsdist] Proxy protocol question
Remi Gacogne
remi.gacogne at powerdns.com
Sat Apr 2 13:14:09 UTC 2022
Hi Adrian,
On 02/04/2022 14:36, Adrian Kägi via dnsdist wrote:
> Theese are my "newServer" statements:
> newServer({address="pdns_auth_IPv4:5353", name="nsa-1_v4", pool="sec",
> useProxyProtocol=True})
> newServer({address="[pdns_auth_IPv6]:5353", name="nsa-sec1_v6",
> pool="sec", useProxyProtocol=True})
Would you mind trying with useProxyProtocol=true instead of
useProxyProtocol=True ? Lua is case sensitive and unless you define a
variable named True whose value is true, it will not work:
$ lua
Lua 5.4.4 Copyright (C) 1994-2022 Lua.org, PUC-Rio
> a = true
> print(a)
true
> a = True
> print(a)
nil
>
Best regards,
--
Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20220402/a2d73871/attachment.sig>
More information about the dnsdist
mailing list