From owner-freebsd-questions@freebsd.org Sun Jun 23 08:58:18 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 9841415CA547 for ; Sun, 23 Jun 2019 08:58:18 +0000 (UTC) (envelope-from odhiambo@gmail.com) 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 CBD938173B for ; Sun, 23 Jun 2019 08:58:17 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 8BF9115CA546; Sun, 23 Jun 2019 08:58:17 +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 6957415CA544 for ; Sun, 23 Jun 2019 08:58:17 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C38C78173A for ; Sun, 23 Jun 2019 08:58:16 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by mail-lj1-x234.google.com with SMTP id t28so9705800lje.9 for ; Sun, 23 Jun 2019 01:58:16 -0700 (PDT) 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=hABE80Ayr/zUTbDW7DZ/7bfwIek8XTrXXoRqcINoyqA=; b=ZfkKBcTlBmpj1G8qJ9FxvGQ7QQZmiBhimtfSfGpycnOp6B2YBc4e1B/HVqSWtUhxHG FLvKh9Kpvfe7hm2YKGgmFNHrZGCkIgiccqz3t2mJC2iiTXL/ynPD8VEzDgWa+WvP/JQw FHTJ4bcS4EgH4WbvdtCAvwTKVKj8H77vZy+AQEuJCU1xsC0H0k8A5NRHkstkgm7hZRk5 5G7ilPSOPdb25GJSmUk4gVYQxXzWiDWuc/qdv7B0M0jrYVW1sHQ/7SfNHpSYqEsQuwiB Vf34tM++/0F8ToVTGq/tGn9MHIJUIry1i3ibyzEg3VXW74jbi4VfqTMFrkbSKIgpKWHW +qVg== 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=hABE80Ayr/zUTbDW7DZ/7bfwIek8XTrXXoRqcINoyqA=; b=R+PvF6TME2SQg7wuEjW5Fbli9B1dez3T/ohQJhd3qbRMPbA83umU/urWwqrlWb0/47 vd9ZOAwA7W2FxurWi+hbV16LN+MrmTe8hfMcRqIrPh5+60IC0kIgqHzR3FgHoz/VY61w d6yS7RT1Q33/uiruGJJM6bKsDQPUzT5nDfSwohKFGMXdFVqzx94E72t/H0JtMiIUQZ37 7rHl41ubjlmKhQZEA5eJoLDlSAQHTgbDoIfrtuHsbHId12H7ObvmOWBvZya1sonFH/NM 6yb2fC2qOfLp4qX/vfRg8svPoDj9PV2kV8vpyHetkqQs3ZaVS9Fr4CDWyMA7XC6Ntd4i Uycw== X-Gm-Message-State: APjAAAWLJHSUcMYCSWqzOwtNbGmhMzPPI4xX90kvaaT2Sa5iwq5bt4/o 8qjUe1wbqOFsR34VwxaP4ewYzplR5NtLp8ZxnUjYyJmB/o4= X-Google-Smtp-Source: APXvYqwDi64WrK4YDkab78/0PWvJRioMqvF9nAUjoGN/ZV1RR0Kw6FsIPjv0IuwFkTaMJFNV3gm9wDe4WjgQwpVUP7o= X-Received: by 2002:a2e:894a:: with SMTP id b10mr42379495ljk.99.1561280293706; Sun, 23 Jun 2019 01:58:13 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Odhiambo Washington Date: Sun, 23 Jun 2019 11:57:33 +0300 Message-ID: Subject: Re: local_unbound not working To: =?UTF-8?Q?Trond_Endrest=C3=B8l?= Cc: questions X-Rspamd-Queue-Id: C38C78173A X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.986,0] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Sun, 23 Jun 2019 08:58:18 -0000 On Sat, 22 Jun 2019 at 18:56, Trond Endrest=C3=B8l wrote: > 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 D= NS > > names and IP addresses. > > The system is FreeBSD-12. > > Now, on the original system, local_unbound is working perfectly for nam= e > > 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? > The replica lives in a different subnet. It's actually being used as a gateway server elsewhere. > > Any typos in the IP address, netmask, gateway, or name of the > interface(s)? > The configs are identical except for interface: 192.168.xx.254 Are the MAC addresses unique in either case? > Yes. They are two different servers living in two physical locations, in two different ISPs. > > Is the switchport placed in shutdown, assuming a manageable/programmable > switch? > The LAN/WAN interfaces are both functional. The PF configuration differs only in the WAN IP and LAN subnet. If I put the same DNS servers that I have in /var/unbound/forward.conf in m= y /et/resolv.conf, DNS resolution works. --=20 Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-)