From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ka8er-00074K-Ds for qemu-devel@nongnu.org; Mon, 01 Sep 2008 08:37:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ka8ep-00073E-G4 for qemu-devel@nongnu.org; Mon, 01 Sep 2008 08:37:24 -0400 Received: from [199.232.76.173] (port=36222 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ka8ep-00073B-CF for qemu-devel@nongnu.org; Mon, 01 Sep 2008 08:37:23 -0400 Received: from il.qumranet.com ([212.179.150.194]:56112) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ka8ep-0001Ti-6X for qemu-devel@nongnu.org; Mon, 01 Sep 2008 08:37:23 -0400 Message-ID: <48BBE201.60703@qumranet.com> Date: Mon, 01 Sep 2008 15:37:21 +0300 From: Avi Kivity MIME-Version: 1.0 References: <1220263041.28006.5.camel@localhost> <48BBC3FD.7070807@qumranet.com> <1220266648.19757.5.camel@localhost> <48BBCE8B.9050602@qumranet.com> <1220272261.19757.11.camel@localhost> In-Reply-To: <1220272261.19757.11.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: > On Mon, 2008-09-01 at 14:14 +0300, Avi Kivity wrote: > >> 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. >> > Then we should forward them all, but the localhost one should be tested > and skipped if unavailable. > Why? A local application will have exactly the same problems with a broken dns server on localhost, as a virtual machine with that address forwarded. And if the the dns server is later fixed, both the local application and the guest will recover. -- error compiling committee.c: too many arguments to function