Received: from mail-yb1-f195.google.com (mail-yb1-f195.google.com [209.85.219.195]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id CFA40782B93 for ; Fri, 8 May 2020 12:36:36 +0000 (UTC) Received: by mail-yb1-f195.google.com with SMTP id f5so856249ybo.4 for ; Fri, 08 May 2020 05:36:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=SrPipmEvY2Ucw9ClMvyVuLE9R9eM9U1rVgJI3/YGSew=; b=RDLdhSGcJYLXb7Iorgf51Pg5AU2Gy4jwJA7QZ5LmySa+iSOaMA9ahWSb/MtpyoXnLq dPWQnwvJGnTSMbYtxjnquN+FPU+F9QLEZbhVbxO4uAS2sGojtO3WGTOZbdY5sSURsIya 8mAx+bjJLUc4EYidvcQgDNYjpDqbLiY/kmXsXl6rU9fM2QZLg/+rP6H7kXHG9b9SGfAT tYvXNIon6MnSH5RO+CWD/wog791cIvbwpWLoPnq+9NGo4393QwdOniaYYeiav66b4gqU xxD9BOjKFwfcMp33U4s4W1FZ1+cvO5/8yT99xLFPb3o6yB2gQriOc3wW9f0M9IdadbAI tN7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=SrPipmEvY2Ucw9ClMvyVuLE9R9eM9U1rVgJI3/YGSew=; b=OvGSGAffw/hORKEIc4NPwXLcyVpmdD6dhO+NOwgt5lVROsvg+yTyvfRJv1XV41cpQS 3X8N3oBbPqy74l3TMdMYt0/pLbPiU6z5VipUp0K2XXFLywLm624wia6UYMeyqGxnVj7M DRX+sgtXxNchNM/I5H4RVA2bpLv/qbBA7s1evgM/f4kiZN2AKSqnR1Ivx3oZPV8sKcWj QF320Gs/nkyfDc86pZpwCXIfrHClGouMquGST2wgpp+k1BjgfOaMdsYzHAt9sVTCSosc UXO04azclXsee4HvOt+7KjekslEoBBllltBmeygDlip76kJ6WmJWKF3QfU+rmv3L0yCM ctfQ== X-Gm-Message-State: AGi0PuZMPBFOws5NHgv5IZolfjyxCrSrfX0d3XQc1nbViXFg/GnImTne R/2PlVMuB2k+dUHmmLciUhy4AEm6FHtVANe970cHrYpV0EM= X-Google-Smtp-Source: APiQypLTabLU3Tt3S80qkEAb6vPwg4whfVm0Concn4ERwjfmJ73Nr3Tky7yJuy/wLu9YEmZ9jC9yMLRX0QdmfilG170= X-Received: by 2002:a25:c581:: with SMTP id v123mr4570577ybe.445.1588941395527; Fri, 08 May 2020 05:36:35 -0700 (PDT) MIME-Version: 1.0 References: <20200508132121.4d185f83@ncopa-desktop.copa.dup.pw> In-Reply-To: From: Joe Duarte Date: Fri, 8 May 2020 05:36:23 -0700 Message-ID: Subject: Re: No resolv.conf file in alpine-virt / how to enter DNS servers? To: alpine-user@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="000000000000730a5b05a5223f70" --000000000000730a5b05a5223f70 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I forgot to mention a couple of things: 1. I'm in Hyper-V. Not sure if that matters. 2. I'm not seeing etc/resolv.conf in Alpine Standard edition either. So it's not just virt. I'm not sure what I'm doing wrong re: my setup-alpine choices. This is the latest release 3.11.6. One other thing I noticed is that, by default, there's nothing in etc/apk/repositories except for /media/sda1/apks/. There's no mirror or repo, even though I choose #1 during setup-alpine. So initially when I try apk update or upgrade, nothing happens =E2=80=93 it doesn't download anythi= ng. I have to manually enter http://dl-cdn.alpinelinux.org/alpine/ in etc/apk/repositories. Then after saving that I try apk update again and get the error message I linked in my first email, the "temporary error" and so forth. That one is supposed to be DNS related, but there's no resolv.conf file, so I don't know what's going on. Should I just create resolv.conf? What goes in it besides the DNS IP address? (I'll probably use Cloudflare's 1.1.1.1) These errors usually get a lot of discussion on the Glider Labs repos: https://github.com/gliderlabs/docker-alpine/issues/386 Thanks, JD On Fri, May 8, 2020 at 5:20 AM Joe Duarte wrote: > I did that, twice. So what I've done is choose: > > eth0 > DHCP > no manual config > Mirror #1 (http://dl-cdn.alpinelinux.org) > chrony > dropbear for SSH > sda > sys > > Is there something that should be different in the above? > > Thanks, > > JD > > On Fri, May 8, 2020 at 4:21 AM Natanael Copa > wrote: > >> 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 >> > --000000000000730a5b05a5223f70 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I forgot to mention a couple of things:

1. I'm in Hyper-V. Not sure if that matters.
2. I'm n= ot seeing etc/resolv.conf in Alpine Standard edition either. So it's no= t just virt.

I'm not sure what I'm doing wrong= re: my setup-alpine choices. This is the latest release 3.11.6.
One other thing I noticed is that, by default, there's= nothing in etc/apk/repositories except for /media/sda1/apks/. There= 's no mirror or repo, even though I choose #1 during setup-alpine. So i= nitially when I try apk update or upgrade, nothing happens =E2=80=93 it doe= sn't download anything. I have to manually enter http://dl-cdn.alpinelinux.org/alpine/ in et= c/apk/repositories. Then after saving that I try apk update again and get t= he error=C2=A0message I linked in my first=C2=A0email, the "temporary = error" and so forth. That one is supposed to be DNS related, but there= 's no resolv.conf file, so I don't know what's going on.
<= div class=3D"gmail_default" style=3D"">
Should I just create resolv.conf? What goes in it besides the= DNS IP address? (I'll probably use Cloudflare's=C2=A01.1.1.1)

These errors usually get a lot of discussion on the Glider = Labs repos:=C2=A0https://github.com/gliderlabs/docker-alpine/issues/386

Thanks,

JD

On Fri, May 8, 2020 at 5:2= 0 AM Joe Duarte <songofapollo@= gmail.com> wrote:
I did that, twice. So what I've done is = choose:

eth0
DHCP
no manual config
Mirror #1 (http://dl-cdn.alp= inelinux.org)
chrony
dropbear for SSH
sda
sys

Is there something that should be different in the= above?

Thanks,

JD

On Fri, May 8, 2020 at 4:21 AM Natanael Copa <ncopa@alpinelinux.org= > wrote:
= On Fri, 8 May 2020 03:24:48 -0700
Joe Duarte <= songofapollo@gmail.com> 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:<= br> > 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
--000000000000730a5b05a5223f70--