[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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 <rgelfand2@gmail.com> wrote:
> I have configured 2 vlan interfaces on debian lenny box.  The 2
> interface ip's are and 192..168.8.5.  I would like making
> dns queries from this ip  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 listmaster@lists.debian.org
> 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

Reply to: