-- L7 dnsdist front-end fronting numa, with UDP-on-UDP PROXY v2.
--
-- Listens on UDP+TCP/53 from clients and forwards backend queries on
-- the same transport the client used. `useProxyProtocol = true` makes
-- dnsdist prepend a PROXY v2 header to every backend query — including
-- per-datagram on UDP. numa parses that prefix, recovers the real
-- client IP, and runs the regular UDP query path.

addLocal('0.0.0.0:53')

newServer({
  address = '172.29.0.10:53',
  useProxyProtocol = true,
})

setACL({'0.0.0.0/0', '::/0'})
