Re: DNS for multi-interfaces host

From: Milan P. Stanic (mps@rns-nis.co.yu)
Date: Wed Nov 20 2002 - 06:51:33 EST


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