RE: DNS for multi-interfaces host

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

 




> 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.

-
: 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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux