This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] resolv.conf setup?

To: Dave Stevens <geek@xxxxxxxxxxxx>
Subject: Re: [Xen-users] resolv.conf setup?
From: Bruce Edge <bruce.edge@xxxxxxxxx>
Date: Sun, 17 Oct 2010 07:57:54 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 17 Oct 2010 07:59:26 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=bOepBM6sZXrofiuuPHIx5Yf7aaYdwKk6JT7VcFj0AX0=; b=uo4OeNaM98x0m5M4T0dbD6fEhZlGhEk6dq1Rfg8dHdVUgh7tGK8EGdPAXh8MVmRmeq QNGnrNO7iucX/a17TTeDIBsKV2RM1ai1ZvsqMB0GRByhSn3DuJyIimI+Pe1ZR9yMbltg CCARUPt1KfXHUQmr0DS66EO4ho1wvctrgOQJ4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=YfSzqLPnvTD4ib7h/J65xxttSGhzr/YJAEDQz630d0F8IrwLPbxAyiItHFGqWMooyl oSSzYrzv4ApVd4OfHzDicIBNcYKwmxMALSaZPdI1M2ThHO5BpYadxjAsne9Lic+dA95b E21Gbr7YlmWiE6J4wULPHBpkZ5kXNaUhQmktw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20101016222348.85098f6htfeb8w9w@xxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20101016222348.85098f6htfeb8w9w@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Sat, Oct 16, 2010 at 10:23 PM, Dave Stevens <geek@xxxxxxxxxxxx> wrote:
I recently ran into an apparent contradiction in the behaviour of a Xen domU. I could get to it just fine from the outside world but when using the virt-manager console at the server I could not get out. This was traced to (I think) the fact that this is a dual nic server, and the domU was set up with one nic (at that time attached to a lan) and then subsequently used on a static IP from an isp on the other nic. So I've solved that particular problem by using a non-local name server, bur would like to know how resolv.conf gets its initial values. Does vm take whatever it finds? I don't remember being asked what name server to use. Pointers to docs?

This is a general networking question rather that anything related to xen. I'd suggest posting to a forum for whatever distro your domU is as network config is slightly distro dependent.
The resolv.conf depends on the specific package set you have on the machine and the local networking config.
For example, if you are using dhcp, it's set from dhclient. If you have some type network manager running, that will be the place to look. Use the package manager to see what package owns that file.



"It is no measure of health to be well adjusted to a profoundly sick society."

Xen-users mailing list

Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>