Replies: 3 comments 5 replies
-
Hi Denis! What's happening is:
query_rules:
- name: "add ip in proxy protocol"
selector:
type: QNameSuffix
suffixes:
- powerdns.com
action:
type: Lua
function_code: |
return function(dq)
dq:addProxyProtocolValue(1, dq.localaddr:tostring())
return DNSAction.None
end then again I need to make it clear in the documentation, sorry! |
Beta Was this translation helpful? Give feedback.
-
Thanks :) I'll continue running more tests. |
Beta Was this translation helpful? Give feedback.
-
Sorry to jump in on this, but I've been trying to figure out ProxyV2 in dnsdist, as I'm trying to test different backend DNS servers. But I'm running into problems with Technitium as dnsdist isn't sending proxy address over during health checks. Can I assume that I could use similar to this to get around how dnsdist sends proxy dns calls? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I am experimenting with the new YAML syntax and trying to add the following rule for queries, but I encounter the following error on startup.
Config rule
Am I missing something, or is it a bug?
Denis
Beta Was this translation helpful? Give feedback.
All reactions