[dnsdist] Define from which source dnsdist is sending a reply

Sandro Bolliger sandro at ravana.ch
Fri Mar 3 15:28:44 UTC 2023


Hi List

Is it possible to send a reply from a specific IP as source in dnsdist? I use multiple different IPs on the Loopback interface of my dnsdist machine. The IPs are routed to that server. Now dnsdist is replying with the interface IP on which it has connectivity to the other machines. This is causing trouble with as an example Ubuntu systems that now refuse to use the reply from the wrong source IP. As an example Ubuntu sends its DNS query to 192.0.2.1 and gets a reply from 203.0.113.2. It then tells me ;; reply from unexpected source: 203.0.113.2#53, expected 192.0.2.1#53.

Best case would be to send the reply from the same IP I received the request on.

Regards
Sandro


More information about the dnsdist mailing list