Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id C028D782C06 for <~alpine/users@lists.alpinelinux.org>; Thu, 4 Mar 2021 04:42:49 +0000 (UTC) Received: by mail-ed1-f45.google.com with SMTP id x9so1265748edd.0 for <~alpine/users@lists.alpinelinux.org>; Wed, 03 Mar 2021 20:42:49 -0800 (PST) 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 :cc; bh=o+L1WYD0/qpyCgB5FIa3du+DzaSw+sv4Tsrt6Ccy+WY=; b=a5+PUaskubT23+l8GcIa9E2Pvst0zEqYFRHWio+YjFm+TvNaTgLD6TxaOSJMBglhSx QyrchXtgZAGWbNRKxJYFqR1xY+d/AQnkGOePLJR75pxZb9ZMH1eRhtPnzZNIsviJN9q1 SQMiOmUO0ePGBvH8u9HzQk84Fso5hRAdQoE2hZ5r9K1aj7MRIsJUgJJSj+/C+ktyOSoj 0EMGbiKooMk7y7GENgFKaiYRfvG/2j179bZEaTt6drUFWwcGOHF4EEN3wu92yMJtZ/zu FHAJo9Se3DrsFA4Rs35TtwU1qFvB3xaVIRmMLsW/EMzzFnr6PJHjtpiVXDmrvkWz5pAh JvXg== 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:cc; bh=o+L1WYD0/qpyCgB5FIa3du+DzaSw+sv4Tsrt6Ccy+WY=; b=p7+Tk362qql0jX4CSOTIbKyIJ8WLQNxyXKHTOOd24XjrxqmVq6/UTGbpRjxPRM66k8 3BkCy9ijhi1zlK8ulEYP7zPrFCJ6Gi9XcWkC09gYUwn2oqO+QcHRORkVW4/IcIQ4OLQk PKckZslRctNKKEVjopNuslSbZd7PUzaurslnWlf/bUf4+K/oeMfqUjoeDuLra8Ev1p6n H6DHTg52ZYHAXFldvWZtUiaHUUHKaJGiHeHCZWmzTWIEbybNOPxFbXPZN3PgcVI1mc7L Wp5WxNGBHL5HcxR6q6y9Bb7uNtg5Ax3X7b1wtDtOTV2oTc/b2M4Tml2VjxN3Q/bv7OuY 97qQ== X-Gm-Message-State: AOAM531A/YQxi9NrXS+vc7bqHpDbVginzMYht9Os9IhDvRHPgsib7Qf5 iq46P3SNorqKhFL2ieDpst+JWfTHkhNVcfCdWxA= X-Google-Smtp-Source: ABdhPJyLMvTsD2ao4WPb8ca3qebCKCTYYNMBiPHIDglz9uw634AYfwsks5DDsoTauNoTyvyhiQ2TayhglsnD9hnPwXg= X-Received: by 2002:aa7:c78e:: with SMTP id n14mr2316391eds.31.1614832968175; Wed, 03 Mar 2021 20:42:48 -0800 (PST) MIME-Version: 1.0 References: <0ytwX-4QxcXAGpvvJcbSHWSbFzEPhblTKCY4iBdg-MceElYsLivmroOC4RV1oWVNn9IENDGYFK76qvLvuxwiLvJI7--x550H8WZR8Z77b7s=@protonmail.com> In-Reply-To: <0ytwX-4QxcXAGpvvJcbSHWSbFzEPhblTKCY4iBdg-MceElYsLivmroOC4RV1oWVNn9IENDGYFK76qvLvuxwiLvJI7--x550H8WZR8Z77b7s=@protonmail.com> From: Banibrata Dutta Date: Thu, 4 Mar 2021 10:11:27 +0530 Message-ID: Subject: Re: name resolution problem To: Sebastian Lusenti Cc: ~alpine/users@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="00000000000070924b05bcae9979" --00000000000070924b05bcae9979 Content-Type: text/plain; charset="UTF-8" This sounds potentially related to the problem I posted last night. My setup is Win10 Enterprise, with Virtualbox running VM, on which Alpine 3.13 is installed as guest OS, with Docker and Docker-compoae (latest from repos). I also use (corporate) VPN on the host. However my issue is that inter container (since I use 7 containers) name resolution, and hostname assignment with container is erratic. It switched from working almost smoothly to near mess, with zero change to containers or their configuration. From within atleast one of the containers, I am however able to do 'curl -v -k http://www.google.com'. Similar to you, I have a similar setup based on CentOS guest, with somewhat older version of Docker and Docker-compose which works fine, in the same host setup. Wanted the Alpine guest setup to minimise footprint for easier distribution to colleagues. Regards, BD On Mon, 1 Mar, 2021, 3:00 pm Sebastian Lusenti, < sebastian.lusenti@protonmail.com> wrote: > hi all, > I'm trying to make an Alpine Linux setup for Desktop but currently I'm > struggling with stopper problem. > I've installed Alpine in a VirtualBox VM. When i setup a vpn connection on > the host I'm not able to use any network service that requires name service > resolution (E.G. chrony , ssh, firefox, apk) on the alpine guest but if I > nslookup to any host the dns respond correctly. Without VPN everything it's > ok. > I've already tried to create a /etc/nsswitch file and to restart > networking service multiple times. > > It's not a VPN or VirtualBox issue because if I try the same commands in > the same environment with another distro everything work fine. > > Could you please help, debugging and solving this? > > > Sent with ProtonMail Secure Email. > > --00000000000070924b05bcae9979 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This sounds potentially related to the problem I posted l= ast night. My setup is Win10 Enterprise, with Virtualbox running VM, on whi= ch Alpine 3.13 is installed as guest OS, with Docker and Docker-compoae (la= test from repos). I also use (corporate) VPN on the host. However my issue = is that inter container (since I use 7 containers) name resolution, and hos= tname assignment with container is erratic. It switched from working almost= smoothly to near mess, with zero change to containers or their configurati= on. From within atleast one of the containers, I am however able to do '= ;curl -v -k http://www.google.com'= ;.

Similar to you, I have a si= milar setup based on CentOS guest, with somewhat older version of Docker an= d Docker-compose which works fine, in the same host setup. Wanted the Alpin= e guest setup to minimise footprint for easier distribution to colleagues.<= /div>

Regards,
BD

On Mon, 1 Mar, 2021, 3:00 pm Sebastian Lusenti, <sebastian.lusenti@protonmail= .com> wrote:

hi all,
<= /div>
I'm trying to make an Alpine Linux setup for Desktop but curr= ently I'm struggling with stopper problem.
I've installed Alpine in a VirtualBox VM. When i setup a vpn connection on the host I'm not able to use any network service that requires name service resolution (E.G. chrony , ssh, firefox, apk) on the alpine guest but if I nslookup to any host the dns respond correctly. Without VPN everything it's ok.
I'= ve already tried to create a /etc/nsswitch file and to restart networking s= ervice multiple times.

It's not a VPN or V= irtualBox issue because if I try the same commands in the same environment = with another distro everything work fine.

Coul= d you please help, debugging and solving this?

=

Sent with ProtonMail Secure Email.

--00000000000070924b05bcae9979--