Re: DNS Lookups
I've never tried this myself, but I think that other option would be
to use iptables' OUTPUT chain with "-o your virtual interface". You
can also restrict this rule to filter only DNS ports and so on.
Another option is to use static routes, like Mihamina suggested.
On Fri, Aug 3, 2012 at 2:05 AM, Roman Gelfand <firstname.lastname@example.org> wrote:
> I have configured 2 vlan interfaces on debian lenny box. The 2
> interface ip's are 192.168.6.5 and 192..168.8.5. I would like making
> dns queries from this ip 192.168.6.5. What can be done to ensure that
> a dns query is made using specific response ip?
> Thanks in advance
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact email@example.com
> Archive: [🔎] CAJbW+r=LRK76ZLZYnpa96mJG-3oHUbXXAR0Mw6wKwLQSsa-Q9w@mail.gmail.com">http://lists.debian.org/[🔎] CAJbW+r=LRK76ZLZYnpa96mJG-3oHUbXXAR0Mw6wKwLQSsa-Q9w@mail.gmail.com
Pedro Eugênio Rocha