From owner-freebsd-questions@freebsd.org Sat Jun 22 15:53:24 2019 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 8CBF615D76C8 for ; Sat, 22 Jun 2019 15:53:24 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 09E2D82967 for ; Sat, 22 Jun 2019 15:53:24 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: by mailman.ysv.freebsd.org (Postfix) id C271115D76C4; Sat, 22 Jun 2019 15:53:23 +0000 (UTC) Delivered-To: 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 AF75A15D76C3 for ; Sat, 22 Jun 2019 15:53:23 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (enterprise.ximalas.info [IPv6:2001:700:1100:1::8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ximalas.info", Issuer "Hostmaster ximalas.info" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0E71A82963 for ; Sat, 22 Jun 2019 15:53:22 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (Ximalas@localhost [127.0.0.1]) by enterprise.ximalas.info (8.15.2/8.15.2) with ESMTPS id x5MFrFX6034810 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sat, 22 Jun 2019 17:53:15 +0200 (CEST) (envelope-from trond.endrestol@ximalas.info) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ximalas.info; s=default; t=1561218795; bh=R2zpnfqqVZblRoJ0X6cC2pFc2Sd7ldfeW+kUYNcF47k=; h=Date:From:To:Subject:In-Reply-To:References; b=mX5m902Pw9Bo38DkZ4tDSvzAv7zmbiVMMOltDPXrlTRK56La1Yk5zGkFD9rAlYQnx TWcYUVr9BcB/T3F8RTegwEOGLXo+Sesw770Tl36kJ3FpMY1KUV7dh0WsXIYRDL5pLQ 8CkWKacKBx395NFuXyzqgN711Ec4RPW2Aun2dCEdjFTlQyLhQIlgEkbtGWwBZJGfYH aABLUV4azq3AHRtW8muKOv9afgg8liMZVA9UwWj/c2pHAXTBj+sVEFBPCKUKgVDF4R TNw8DybMPjg2nLtwNAe/E7nxOFCgxSG4E0ZtNBCe41xKTn9XdJXsz2K01Yf4px26Go 3gNDmhYF5xNNQ== Received: from localhost (trond@localhost) by enterprise.ximalas.info (8.15.2/8.15.2/Submit) with ESMTP id x5MFrEZ6034807 for ; Sat, 22 Jun 2019 17:53:14 +0200 (CEST) (envelope-from trond.endrestol@ximalas.info) X-Authentication-Warning: enterprise.ximalas.info: trond owned process doing -bs Date: Sat, 22 Jun 2019 17:53:14 +0200 (CEST) From: =?UTF-8?Q?Trond_Endrest=C3=B8l?= Sender: Trond.Endrestol@ximalas.info To: questions Subject: Re: local_unbound not working In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21.9999 (BSF 287 2018-06-16) OpenPGP: url=http://ximalas.info/about/tronds-openpgp-public-key MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on enterprise.ximalas.info X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jun 2019 15:53:24 -0000 On Sat, 22 Jun 2019 18:03+0300, Odhiambo Washington wrote: > I have a system which is an exact replica of the other except for the DNS > names and IP addresses. > The system is FreeBSD-12. > Now, on the original system, local_unbound is working perfectly for name > resolutions. > On the replica, name resolution is not working. > I have edited the IPs correctly in unbound.conf, resolv.conf, rc.conf - > every other place I can think of. > What would cause this failure?? Wildly speculating here of course, does the replica live in the same subnet as the original, and is the replica allowed to speak to the external DNS service? Any typos in the IP address, netmask, gateway, or name of the interface(s)? Are the MAC addresses unique in either case? Is the switchport placed in shutdown, assuming a manageable/programmable switch? -- Trond.