Received: from mx1.tetrasec.net (mx1.tetrasec.net [66.245.176.36]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id EC744782B39 for <~alpine/users@lists.alpinelinux.org>; Fri, 8 May 2020 11:21:28 +0000 (UTC) Received: from mx1.tetrasec.net (mail.local [127.0.0.1]) by mx1.tetrasec.net (Postfix) with ESMTP id BA0CE8E852 for <~alpine/users@lists.alpinelinux.org>; Fri, 8 May 2020 11:21:27 +0000 (UTC) Received: from ncopa-desktop.copa.dup.pw (67.63.200.37.customer.cdi.no [37.200.63.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: alpine@tanael.org) by mx1.tetrasec.net (Postfix) with ESMTPSA id 209248E851 for <~alpine/users@lists.alpinelinux.org>; Fri, 8 May 2020 11:21:26 +0000 (UTC) Date: Fri, 8 May 2020 13:21:21 +0200 From: Natanael Copa To: ~alpine/users@lists.alpinelinux.org Subject: Re: No resolv.conf file in alpine-virt / how to enter DNS servers? Message-ID: <20200508132121.4d185f83@ncopa-desktop.copa.dup.pw> In-Reply-To: References: X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-alpine-linux-musl) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 8 May 2020 03:24:48 -0700 Joe Duarte wrote: > Hi all, > > There is no /etc/resolv.conf in the alpine-virt image. How do I enter DNS > servers in virt? > > Here are the errors I'm getting when I try apk update or upgrade: > https://imgur.com/a/0jC4DZx > > These are common errors, and I think they're DNS related. You need to configure network first. To do so, run: setup-alpine -nc