From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: trivial DNS issues Date: Mon, 01 Sep 2008 15:37:21 +0300 Message-ID: <48BBE201.60703@qumranet.com> References: <1220263041.28006.5.camel@localhost> <48BBC3FD.7070807@qumranet.com> <1220266648.19757.5.camel@localhost> <48BBCE8B.9050602@qumranet.com> <1220272261.19757.11.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]:56111 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751182AbYIAMhX (ORCPT ); Mon, 1 Sep 2008 08:37:23 -0400 In-Reply-To: <1220272261.19757.11.camel@localhost> Sender: kvm-owner@vger.kernel.org List-ID: 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