Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) (Authenticated sender: kdaudt@alpinelinux.org) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPSA id 4FD1A223A80 for <~alpine/devel@lists.alpinelinux.org>; Fri, 16 Jun 2023 10:41:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alpinelinux.org; s=smtp; t=1686912076; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8h4HQnChMAv4m/lGgHPNzwhYXGUNHXHf2HWtUYx4v/k=; b=aHKi8zeYrhiW3u0fQK22W8m0xh01bMAJn5YproTHJOa/WMYB6ZTqOSiL3Yy84KJnyvrt29 iCMlriClgtau+jBAC8HAxYHWbJL53pwSxFQmVBhyBRkZoLTym2/eAxlkbAYIbrtUfRdCHw n3dRkzELUuYQfevP2RIS58DkfUwZosk= Received: by mail-qt1-f176.google.com with SMTP id d75a77b69052e-3f9cf20da51so5480621cf.2 for <~alpine/devel@lists.alpinelinux.org>; Fri, 16 Jun 2023 03:41:16 -0700 (PDT) X-Gm-Message-State: AC+VfDzidZPIUgBMHLeayyX2VUMC7Lk9MDfp7mKo8XSgI3O9QnLJDz/5 MFpbNmV5GRvfa6cNeh9lsRd9M7qIHMacl8T4XMY= X-Google-Smtp-Source: ACHHUZ50wAYmA8NotLMnca6pjdzWqpIKd9wk84hnyKhCpRADuIQNakaMLihLOf2btlDgCIs0XDa3Yb65g4iAaVbkf88= X-Received: by 2002:a05:622a:d2:b0:3f9:a57d:7886 with SMTP id p18-20020a05622a00d200b003f9a57d7886mr2413943qtw.38.1686912075342; Fri, 16 Jun 2023 03:41:15 -0700 (PDT) MIME-Version: 1.0 References: <2S4UGX2K2XUWW.383MIJ9QU1RGG@unix.is.love.unix.is.life> In-Reply-To: <2S4UGX2K2XUWW.383MIJ9QU1RGG@unix.is.love.unix.is.life> From: Kevin Daudt Date: Fri, 16 Jun 2023 12:40:59 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: IPv6 DNS in docker.io/alpine To: caskd Cc: ~alpine/devel@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Jun 16, 2023 at 12:34=E2=80=AFPM caskd wrote: > > Hello everyone, > > i've been trying to pin down where the resolv.conf in the docker image is= coming from without success. I've been looking into submitting a request t= o add IPv6 addresses to the default too to allow containers with IPv6 only = connectivity to resolve without deriving a image from the base. > > Could you help me pin down where the build scripts/Dockerfile for these a= re and would adding IPv6 as a fallback cause problems? > > docker itself is responsible for the content of /etc/resolv.conf, so you should fix it in docker. You need to add the following to /etc/docker/daemon.json, and restart docke= r: { "ipv6": true, "fixed-cidr-v6": "", } If I don't need a public prefix, I typically use fd80::/80 or something sim= ilar. Hope this helps, Kevin