Re: resolve - send query via specific network device
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 have multiple IPs on the same outgoing interface. -- Grant. . . . unix || die smime.p7s Description: S/MIME Cryptographic Signature ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: resolve - send query via specific network device
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, Malin: West 5 to 7. Rough or very rough, occasionally moderate in Malin. Occasional rain. Good, occasionally poor. ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: resolve - send query via specific network device
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 IP address in BIND by using e.g. query-source option. OS: Linux. the OS decides how to send packets, including which interface to send from. It uses routing tables to decide this, so you can force it to use alternative route. Try looking at http://linux-ip.net/html/routing-tables.html -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. There's a long-standing bug relating to the x86 architecture that allows you to install Windows. -- Matthew D. Fuller ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
resolve - send query via specific network device
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. - Intel Israel (74) Limited This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users