0

I want to configure which ifIndex to use as the source interface to send DNS packets out on.

How I can do it in a DNS client in Linux?

2

The source interface and source address are determined by the normal routing tables. If you don't like the source address, you can add iptables SNAT rules to change the source address.

3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.