Re: DNS for multi-interfaces host

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

 



On Wed, Nov 20, 2002 at 03:21:33PM +0800, Yuan Huailin-w19410 wrote:
> in the file /etc/resolv.conf, we can assign IP address of DNS server
> with nameserver keyword.

Well, it is there for many years.

> When the DNS query UDP packet is sent, kernel can know which
> interface this packet will go to.

Kernel's knowledge where to send packet comes from routing table.

> So, DNS setting for every interface has its meaning.

No, it doesn't in the context of your question.

> I don't know how did the Windows system implement it,

It is simple and like in other operating systems. If the interface is
up, system will send packet over it but will first look routing table.
If the interface is down it "will not" send packet over it, obviously.

> Where the DNS server information is stored?

In registry, I presume ;-)

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