Multiple IP aliases on one nic

Hi,

I’m new to unbound but fairly well versed with bind. I’m currently building a ha caching recursive dns solution for a client. I am using a pair centos machines and ucarp for HA. The problem I am having is the the public interface which users query has multiple ips (from the ucarp config) The users will query the 2nd or 3rd ips on the box not the 1st as that isnt a HA vip. This is fine, however unbound replies to the client using 1st ip on the nic as the source address not the destination address the client requested on. eg

pub Link encap:Ethernet HWaddr 00:0C:29:7E:1D:89
inet addr:x.x.x.x.58 Bcast:x.x.x.x Mask:255.255.255.240

Hi Krad,