From nobody Thu Aug 15 04:41:29 2024 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wkssr0Jrxz5SsZ0 for ; Thu, 15 Aug 2024 04:42:08 +0000 (UTC) (envelope-from ararslan@comcast.net) Received: from resqmta-a2p-658781.sys.comcast.net (resqmta-a2p-658781.sys.comcast.net [IPv6:2001:558:fd01:2bb4::9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wkssq1px3z4Gyq for ; Thu, 15 Aug 2024 04:42:07 +0000 (UTC) (envelope-from ararslan@comcast.net) Authentication-Results: mx1.freebsd.org; none Received: from resomta-a2p-646967.sys.comcast.net ([96.103.145.240]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resqmta-a2p-658781.sys.comcast.net with ESMTPS id eReFs82lsMdU6eSJIsQDmO; Thu, 15 Aug 2024 04:42:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1723696924; bh=EpsJckmX37j6lZ8eF7iIkqiGYavyHnqy2nEVc+OScvI=; h=Received:Received:Content-Type:Mime-Version:Subject:From:Date: Message-Id:To:Xfinity-Spam-Result; b=ZGu/1kPw73s72mKuPcWqpAYolbkJAk7EsrNjxArcaC5zo0Dr9dYuerApOrNJs6w0d 8y8jVFadoUB3j+fslk1o1YKNEbMDw3Qrxve7xysqOSnP7Nmwu/Crr4GnUYb4QQNNsB x3uYylYSJ09UM0EjnDFfW9/a0cXcfgXDwcyqKWp+QX6I9EiPgTg0Hg1wHy7511YzaD MG7IX6zGXI0nyY/n3FdtZ+TO0BRrytzaRtIgaYzehtJ3/oMQ38gRisE2ogL8qV20Dq H0sW1B5jRlr0kpWmoYl1fzyXRL3qObaXBX/QOzCAJNJ/ljlHgVtwPk29GQutzW/x66 +y++7PkZGpncQ== Received: from smtpclient.apple ([67.160.29.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 256/256 bits) (Client did not present a certificate) by resomta-a2p-646967.sys.comcast.net with ESMTPSA id eSIusQNWH10PpeSIvsJfvP; Thu, 15 Aug 2024 04:41:42 +0000 Content-Type: text/plain; charset=utf-8 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Subject: Re: Diagnosing virtual machine network issues From: Alex Arslan In-Reply-To: <9BD08D66-B95C-4551-A005-12218CF18FD2@iitbombay.org> Date: Wed, 14 Aug 2024 21:41:29 -0700 Cc: "Rodney W. Grimes" , FreeBSD Hackers Content-Transfer-Encoding: quoted-printable Message-Id: <9F3F65F2-0695-434A-B4A1-9C614FD7F9AA@comcast.net> References: <202408141829.47EITc7B080532@gndrsh.dnsmgr.net> <08AA87E3-D631-4EA1-AA30-37B4709630CB@comcast.net> <9BD08D66-B95C-4551-A005-12218CF18FD2@iitbombay.org> To: Bakul Shah X-Mailer: Apple Mail (2.3774.600.62) X-CMAE-Envelope: MS4xfL/M56godkx0li5OdEsFo0xZyPi44fdBo8WE8W8xLhklWquSHi/DnyGWK5QfmZGpvNZ7TFTi2eGM4jekHeywpQYpq6mQuvpfOymugSYl4lmk+T5FzX8A /hOhsLQas0lCb4kj0yZGHAyqfKhIeKFBgLDWRItecRLfpEi8oQP2sNr83U/Ac4eBt7hkKYW5iUZwyROW7wnCvU24jgY6QLq9jEnsrTIso/dVEV2wFT/XSTk0 a9rAWtnkqb6lANatfvdMEiAiX9AfzLArABcwJGsA74g= X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7922, ipnet:2001:558::/29, country:US] X-Rspamd-Queue-Id: 4Wkssq1px3z4Gyq > On Aug 14, 2024, at 4:53=E2=80=AFPM, Bakul Shah = wrote: >=20 > On Aug 14, 2024, at 4:38=E2=80=AFPM, Alex Arslan = wrote: >>=20 >> In the VM, /etc/resolv.conf has the host IP by default >=20 >=20 > /etc/resolv.conf should always point to a dns server. Is the > host running a DNS service? If it is, it should respond pretty > quickly for a nonexistent hostname query. Why doesn't it? > If it is not running a DNS service, how did you arrive at this > decision to point to the host? I didn't set it explicitly, it's what got configured automatically with `sysrc ifconfig_DEFAULT=3DSYNCDHCP`. I'm unsure whether the host is = running a DNS service, and to be honest I don't know how to tell. `resolvectl` on the host says the current DNS server is 8.8.8.8. It also lists = 1.1.1.1 as an available server, as well as 4.4.4.4 as a fallback. > You may want to run tcpdump on the host and at the same time > on a linux VM and see what happens. You can do the same thing > for a freebsd VM to try to narrow down where the problem lies. I actually did that exactly a while back at the suggestion of someone on this mailing list, and I posted the results to the thread: https://lists.freebsd.org/archives/freebsd-hackers/2024-July/003409.html=