Outgoing IP address
Andrey G. Sergeev (AKA Andris)
andris at aernet.ru
Mon Aug 25 15:28:43 UTC 2008
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?
Sure:
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/
More information about the bind-users
mailing list