From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: trivial DNS issues Date: Mon, 01 Sep 2008 14:14:19 +0300 Message-ID: <48BBCE8B.9050602@qumranet.com> References: <1220263041.28006.5.camel@localhost> <48BBC3FD.7070807@qumranet.com> <1220266648.19757.5.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, qemu-devel To: cristi.magherusan@net.utcluj.ro Return-path: Received: from il.qumranet.com ([212.179.150.194]:31587 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750933AbYIALOV (ORCPT ); Mon, 1 Sep 2008 07:14:21 -0400 In-Reply-To: <1220266648.19757.5.camel@localhost> Sender: kvm-owner@vger.kernel.org List-ID: Cristi Magherusan wrote: > Those who have installed a local DNS server may need that stuff, but we > can check every entries of resolv.conf and see if we can connect to > their DNS server, and use in our VM the first one that could be reached. > > The network maybe down when the VM is started, or the dns server may be down, or ... Maybe we should forward the host's dns servers to the guest, replacing 127.0.0.1 by 10.0.2.2. -- error compiling committee.c: too many arguments to function From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ka7MV-0003N9-Lt for qemu-devel@nongnu.org; Mon, 01 Sep 2008 07:14:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ka7MU-0003Ls-PW for qemu-devel@nongnu.org; Mon, 01 Sep 2008 07:14:23 -0400 Received: from [199.232.76.173] (port=42467 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ka7MU-0003Ld-GU for qemu-devel@nongnu.org; Mon, 01 Sep 2008 07:14:22 -0400 Received: from il.qumranet.com ([212.179.150.194]:31591) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ka7MT-00051k-Nc for qemu-devel@nongnu.org; Mon, 01 Sep 2008 07:14:22 -0400 Message-ID: <48BBCE8B.9050602@qumranet.com> Date: Mon, 01 Sep 2008 14:14:19 +0300 From: Avi Kivity MIME-Version: 1.0 References: <1220263041.28006.5.camel@localhost> <48BBC3FD.7070807@qumranet.com> <1220266648.19757.5.camel@localhost> In-Reply-To: <1220266648.19757.5.camel@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: trivial DNS issues Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: cristi.magherusan@net.utcluj.ro Cc: qemu-devel , kvm@vger.kernel.org Cristi Magherusan wrote: > Those who have installed a local DNS server may need that stuff, but we > can check every entries of resolv.conf and see if we can connect to > their DNS server, and use in our VM the first one that could be reached. > > The network maybe down when the VM is started, or the dns server may be down, or ... Maybe we should forward the host's dns servers to the guest, replacing 127.0.0.1 by 10.0.2.2. -- error compiling committee.c: too many arguments to function