Re: Change source IP at outgoing packet send by Bind9 as forwarder.

2019-10-18 Thread CpServiceSPb .
Thanks for the tip. Adding query-source address binded (lan) IP; port 53; to named.conf.options . According to preliminary tests, this is it is ! пт, 18 окт. 2019 г. в 15:41, CpServiceSPb . : > > Have you tried the query-source option? (You might also need > > transfer-sourc

Re: Change source IP at outgoing packet send by Bind9 as forwarder.

2019-10-18 Thread CpServiceSPb .
sc.org>: > On 10/17/19 3:16 PM, CpServiceSPb . wrote: > > But when Bind9 forwards queries to external servers, it do it via wan > > interface but uses at the first onset server external IP as sources, > > I'm not surprised by this. > > > which is not changed by

Change source IP at outgoing packet send by Bind9 as forwarder.

2019-10-17 Thread CpServiceSPb .
I have Bind9 on Ubuntu 18.04 x64 LTS working as a cache and forwarding one. There are some forwarders IPs. Server has 2 NICs (lan and wan) . BInd9 binds strictly to localhost and lan NICs, that is to 127.0.0.1 and 192.168.0.1. But when Bind9 forwards queries to external servers, it do it via wan