From owner-freebsd-questions@freebsd.org Mon Feb 5 23:07:32 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C7114ED290F for ; Mon, 5 Feb 2018 23:07:32 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 51B2D8E7B7 for ; Mon, 5 Feb 2018 23:07:32 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id 561B860263 for ; Mon, 5 Feb 2018 18:07:31 -0500 (EST) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r223Fy59Nhd0 for ; Mon, 5 Feb 2018 18:07:28 -0500 (EST) Received: from inet07.hamilton.harte-lyne.ca (inet07.hamilton.harte-lyne.ca [216.185.71.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "imap.hamilton.harte-lyne.ca", Issuer "CA HLL ISSUER 01" (not verified)) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPS for ; Mon, 5 Feb 2018 18:07:28 -0500 (EST) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (verified OK)) by inet07.hamilton.harte-lyne.ca (Postfix) with ESMTPS id 11B9A8A48D; Mon, 5 Feb 2018 18:07:27 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id AF08760263; Mon, 5 Feb 2018 18:07:26 -0500 (EST) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g3qXQlCJYCg4; Mon, 5 Feb 2018 18:07:18 -0500 (EST) Received: from mail-io0-f173.google.com (mail-io0-f173.google.com [209.85.223.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPS; Mon, 5 Feb 2018 18:07:18 -0500 (EST) Received: by mail-io0-f173.google.com with SMTP id f4so466891ioh.8; Mon, 05 Feb 2018 15:07:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=beEW6hC5i5xgewAV8s8OcPaVCNdbxcsw2Zlp2Sa+Y3o=; b=AvQmtk3hiWLHNViXJY9fwmFJj1fVdEzwCqUagkvFrKri+y6r/331Kh+h/cWWwRCn2J sdtweMKF/3Kh+Grm/bYD+ZGN3cUfKKBOcIKYCRd2xofkl+/8sO+X92TB01Kf+Vfw5Bjh fZP/Vq3xzltVUgMhEOeUgQrH1krkU5n7w/mO695smfiWEL3eKUJZa9l1Wse6bwMtPQ+3 ZYZrs94WV/HwKNwf7U6FFnHdDs7VWWVGGQUx5elEPSJroMxulm0GDCZChZV5RvIU/6hi ei/gXxuJA5vzJ6R42WfgX5fW2BzrbqzEjocWmRvhARckYiYEcgGtX3dx0fIaAUuKgB5+ oihg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=beEW6hC5i5xgewAV8s8OcPaVCNdbxcsw2Zlp2Sa+Y3o=; b=RLKXXsWj1fWlI+/uR4pZbhtCoC6tyDMrDS5AiHU00aLgPuhHK5vyCqNtAaMRyNNJzv rSbYcEvXMbdTZFktbEu9Ic0TvQ4Uk5WzI9fbqi1s4T01wvzcN4UHPSgJdV5e5ZTkrVdc +EYVyLCi0rDgqW7TEuXOW5CvFI2QnVDXFQlyILV+UrwwY8/5/uvARcKdBUQ/j8xgjTbR hBn429KF189zE2mTiEd2Z1Z6qMAw5hyS04MYCzkV/SlwYP44zVLIoGlfgiPSyCxReXb2 FsxP+3w8QAlEo8+ddFcsVrVbU6eE/kQdUwEGPBufb6O5r+moWNaksIRoWkMhHi079bzN rbUA== X-Gm-Message-State: APf1xPAGVkfW23JiGXWDLFapbMC6PvmiqV4BRCC8hjqKd74csmASoTr6 P3osrzOu/pDTWl5LKL952y9LSzRdoz33lFA9rk0= X-Google-Smtp-Source: AH8x226Nq9FvDIhO/l4JHTjbiHpi1/OOiwrzaRT05s5mbXTdfK+pftCKYwCCIjyQabSYEjIT0is/XROgcrAvRb7+LDU= X-Received: by 10.107.93.13 with SMTP id r13mr630002iob.32.1517872037822; Mon, 05 Feb 2018 15:07:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.2.140.9 with HTTP; Mon, 5 Feb 2018 15:07:17 -0800 (PST) In-Reply-To: References: <0e8b6603883129b6406e0eb0ee296ec9.squirrel@webmail.harte-lyne.ca> From: Adam Vande More Date: Mon, 5 Feb 2018 17:07:17 -0600 Message-ID: Subject: Re: FreeBSD jails, dns and ping To: "James B. Byrne" Cc: freebsd-questions@harte-lyne.ca Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Feb 2018 23:07:33 -0000 On Mon, Feb 5, 2018 at 3:56 PM, James B. Byrne wrote: > > On Mon, February 5, 2018 16:38, Adam Vande More wrote: > > On Mon, Feb 5, 2018 at 3:18 PM, James B. Byrne via freebsd-questions < > > freebsd-questions@freebsd.org> wrote: > > > >> Can anyone explain what is causing this particular inconsistency? > >> Unbound can resolve the address but ping cannot? > >> > > > > What is inconsistent about that? Just because something has a valid > > DNS entry doesn't imply it will respond to ping. > > What is inconsistent is that ping will not resolve the address but > drill will. The only nameserver defined in /etc/resolv.conf is > 127.0.0.1. We never get to the point of determining if the target > replies to the ping. > > > > > Also pkg uses SRV records, it's been discussed here before. > > > > pkg.freebsd.org happens to be the domain that I used to test whether > or not ping could resolve. I get the same results irrespective of the > domain used. > You have included an trailing . in the ping command. -- Adam