Binding named to only one NIC of a dual NIC machine - possible?
I am wondering whether it is possible (and if so how) to specify that 'named' should only bind to one of the two NICs in a machine?
I want to run dnsmasq (for the ability to serve names/ip from the hosts file) on one card ip 10.x.x.222 - not a challenge since I can tell dnsmasq to only serve for this ip.
On the other card (ip 10.x.x.221) I would like to run BIND as a cacheing only name server (dnsmasq does not do recursive look-ups)and have dnsmasq use this as the 'upstream' DNS server (I can specify the server to use in the .conf file as 127.0.0.1).
However when running BIND 'named' attaches to both NICs and so dnsmasq will not start (failed to bind listening socket: Address already in use).
is there a way to tell 'named' not to bind to 10.x.x.222:53 so that this is available for dnsmasq?