From owner-freebsd-questions@freebsd.org Wed Jul 15 18:01:11 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5C4C936BB4C for ; Wed, 15 Jul 2020 18:01:11 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-qk1-x744.google.com (mail-qk1-x744.google.com [IPv6:2607:f8b0:4864:20::744]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4B6QDL70kCz3SK8 for ; Wed, 15 Jul 2020 18:01:06 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: by mail-qk1-x744.google.com with SMTP id k18so2676326qke.4 for ; Wed, 15 Jul 2020 11:01:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:mime-version; bh=FXi9fYutyhTq4M/bMdARX/j2OtPCKLFkoSfTnwId+9Q=; b=Rhc0uXiX9xTMtduMM/ifyS9yg/Fkn8m+QEPNXaFLk78/25zQO4HkIncaC4yDk3ygku SMm6FV5W/Ydyte381caGLIZq78t4E08XB3/qVCy4FwKpoeCYuBm52XQO84oaMF632HYF WdwVOog5AWH8d2kVNXMXS4OuXJMDvXitvr00U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:reply-to:organization:mime-version; bh=FXi9fYutyhTq4M/bMdARX/j2OtPCKLFkoSfTnwId+9Q=; b=FWvpmg0jTdF8q4TBsrUAUYRbFbWEo9UO7ZCaOSrWNXmDJCFt5n83Frz/x9aydhJjP4 Ir9b7KZIMEbbmSQmb7Gvt3QGTXINZ15GyHx6ZNB6fwUMhcO+mbhCUU3hRc8K0GDsz4VC XiXjDaYkvABmkQ4ga3wzsRd+IfQcSpeFPkcR8c6JFvsjwVqLB4v9g4rmtg/OTuTLBr4+ buYywmq4pl62iPY1xzzkOCw9ad3faIXTrdNOFe6qrlmkzpGMIOUXS1B2QXzIfvK6uy5F SPML3qqLDQlsmwkXC1exkfS53WF62AgWSfShosYqbz+tFJNubZ1+rYBXN3i7DhwFgWrP +4wQ== X-Gm-Message-State: AOAM5313ykR+E8jRC2ikKcJVWAm3RASg8xIGZ/mtSw1bKgIjDaWXSAq6 Wh0hE4ROgLh3bsvjsWRY7MR5zu8YjV4= X-Google-Smtp-Source: ABdhPJzl5bA7tqFOk6MSgkAL7J5gdBW6pXsllg1gV/9T+/geAzEYpzIcPGE7sazA0VGRo/TX8Xxk8Q== X-Received: by 2002:ae9:f808:: with SMTP id x8mr7208566qkh.357.1594770369658; Tue, 14 Jul 2020 16:46:09 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-174-109-231-236.nc.res.rr.com. [174.109.231.236]) by smtp.gmail.com with ESMTPSA id v12sm777744qtj.32.2020.07.14.16.46.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2020 16:46:08 -0700 (PDT) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by scorpio.seibercom.net (Postfix) with ESMTPS id 4B5xwv0Yk6z1JFc for ; Tue, 14 Jul 2020 19:46:07 -0400 (EDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.3 at scorpio.seibercom.net Date: Tue, 14 Jul 2020 19:46:00 -0400 From: Jerry To: "User Questions" Subject: Re: Problem with unbound resolving host Message-ID: <20200714194600.0fb4ed86@scorpio.seibercom.net> In-Reply-To: <44lfjmawcs.fsf@Be-Well.Ilk.Org> References: <20200713102451.017682d2@scorpio.seibercom.net> <44lfjmawcs.fsf@Be-Well.Ilk.Org> Reply-To: "User Questions" Organization: seibercom NET X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; amd64-portbld-freebsd11.4) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/3qlq0/RixkbCwKZhivVm6Mw"; protocol="application/pgp-signature" X-Rspamd-Queue-Id: 4B6QDL70kCz3SK8 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=seibercom.net header.s=google header.b=Rhc0uXiX; dmarc=none; spf=pass (mx1.freebsd.org: domain of jerry@seibercom.net designates 2607:f8b0:4864:20::744 as permitted sender) smtp.mailfrom=jerry@seibercom.net X-Spamd-Result: default: False [2.44 / 15.00]; HAS_REPLYTO(0.00)[freebsd-questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[seibercom.net:+]; NEURAL_HAM_SHORT(-0.02)[-0.023]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; REPLYTO_EQ_TO_ADDR(5.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RECEIVED_SPAMHAUS_PBL(0.00)[174.109.231.236:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.996]; R_DKIM_ALLOW(-0.20)[seibercom.net:s=google]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.94)[-0.937]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[seibercom.net]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::744:from]; GREYLIST(0.00)[pass,body]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jul 2020 18:01:11 -0000 --Sig_/3qlq0/RixkbCwKZhivVm6Mw Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 14 Jul 2020 12:34:59 -0400, Lowell Gilbert stated: >> FreeBSD 11.4-RELEASE-p1 >> >> I have: local_unbound_enable=3D"YES" in my /etc/rc.conf file. The >> problem is with some utility programs like "curl" or "wget" >> >> When using either program to assess "https://www.spamhaus.org" a >> failure message is emitted similar to the following: >> >> curl https://www.spamhaus.org >> curl: (6) Could not resolve host: www.spamhaus.org >> >> The "nameserver" is set to "127.0.0.1" when that occurs. If I modify >> it as shown below to "192.168.1.1" everything works fine. >> >> nameserver 192.168.1.1 >> options edns0 =20 > >I'm sure that is in resolv.conf, but you should mention things like >that. > >I'm also assuming that the machine you're trying this on actually has >the address 192.168.1.1. Otherwise, um, yes, that's what should happen. > >Check if you're specifying "interface:" in your unbound.conf file. If >you do, you want to include 127.0.0.1 in the set you specify. However, >unless you have a good reason, don't override it at all. > >Be well. The router's address is "192.168.1.1". The machine's address is "192.168.1.101". After every reboot, the address in the resolv.conf file is reset to 127.0.0.1, which usually works, but not always. This problem only started after updating from FreeBSD 11.4-RELEASE-p0 to "p1". I have no idea what that could have done though. --=20 Jerry --Sig_/3qlq0/RixkbCwKZhivVm6Mw Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEIQb/tTwl6I1ueEVtOHMGOIfexWQFAl8OQ7kACgkQOHMGOIfe xWQWOAgAlZggq/on5YTpqge6G2JFi9BqTTRpBXiNIiGjivQXOnuQz5ObrusTijX7 S5y4cBYDLlVJXV6uL3oC3km+fRfCMnldNs4oD6OaoHs4LN9dgilePi3EkPNaWAuh +ZWTqcZ7zbnGVLnPRSV/uwcr8u2R3OzmOMk40lhWkKtsMBOb1ug7i/jg7A9qb60i 16paZys0tVGP9kSNbauuP7DOxwxjmeMulFtoJPWoPqMiYUpzbfkQ01xa65jQC0eb awQulWY5aMVJTPHkKbXwDyUWSZoiMdebFKetV4dsXKsv6nfx860uFHoRhBHKpcLO yEHAcA8RhVuawFPTyn2C68ftu86rag== =QNhL -----END PGP SIGNATURE----- --Sig_/3qlq0/RixkbCwKZhivVm6Mw--