[dnsdist] two upstreams linked with OR?

palette.eingang.0x at icloud.com palette.eingang.0x at icloud.com
Sun Feb 18 21:07:05 UTC 2024


Hi,
I got a problem concerning having two upstream servers that do not have the same data. So I am looking for a solution to query always both of them but linked logically with an OR.

for example:
- query for one.example.com
  - NS1 - NXDOMAIN
  - NS2 - 10.0.0.10
  - send 10.0.0.10 to the client
- query for two.example.com
  - NS1 - 10.0.0.20
  - NS2 - NXDOMAIN
  - send 10.0.0.20 to the client
- query three.example.com
  - NS1 - NXDOMAIN
  - NS2 - NXDOMAIN
  - send NXDOMAIN to the client


I think this is called a split zone configuration?!
dnsdist sounds great for this requirement, but I did not find a solution in the docs. Maybe a lua script may help, but I did not find any hint on that.

Any idea or resources?


thanks in advance 


More information about the dnsdist mailing list