Hello Scott,

Mon, 25 Aug 2008 08:19:42 -0700 Scott Baker wrote:

> My bind server has two IPs on the primary eth0 interface. Bind
> listens on the secondary IP address, but when it queries external
> servers it uses the primary address. Is there a configuration option
> to force all outgoing DNS traffic to use that secondary IP address?


query-source address your-ip-address port *;

Note the "port *" portion. This is to use a random port when making queries.


Yours sincerely,

Andrey G. Sergeev (AKA Andris) http://www.andris.name/