Re: resolve - send query via specific network device

2018-10-24 Thread Grant Taylor via bind-users
On 10/24/2018 03:58 AM, Matus UHLAR - fantomas wrote: It uses routing tables to decide this, so you can force it to use alternative route. It's also possible to use the routing table to specify which source IP is used for a given route. This is handy to specify the source IP to use if you

Re: resolve - send query via specific network device

2018-10-24 Thread Tony Finch
Stern, Eli wrote: > Using the client side of Bind in a similar manner to the "resolve" > sample (resolve.c). > > How does one force the queries to be sent via a specific network device? Look at the -b option in `lib/sample/resolve.c`. Tony. -- f.anthony.n.finchhttp://dotat.at/ Rockall,

Re: resolve - send query via specific network device

2018-10-24 Thread Matus UHLAR - fantomas
On 24.10.18 09:47, Stern, Eli wrote: Using the client side of Bind in a similar manner to the "resolve" sample (resolve.c). How does one force the queries to be sent via a specific network device? E.g. using the "bind()" system call or ioctl(SO_BINDTODEVICE)? you can only configure outgoing

resolve - send query via specific network device

2018-10-24 Thread Stern, Eli
Using the client side of Bind in a similar manner to the "resolve" sample (resolve.c). How does one force the queries to be sent via a specific network device? E.g. using the "bind()" system call or ioctl(SO_BINDTODEVICE)? OS: Linux.