RE: DNS for multi-interfaces host

From: Dheeraj Pandey (dheeraj@Zambeel.com)
Date: Wed Nov 20 2002 - 02:14:26 EST


> Yes, I mean DNS server.
>
> This bring another question, When network application want to
> connect a host, how does it choice the interface?

You can make the socket bind to a device, in which case the outgoing pkt
will be routed with the device "hint". Otherwise, the Linux FIB (Forwarding
Information Base) will choose a route for you-- the outgoing interface is a
part of this route.

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:00 EST