From owner-freebsd-bugs@freebsd.org Tue Aug 29 20:55:15 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A6AFADE585E for ; Tue, 29 Aug 2017 20:55:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 95A3870D67 for ; Tue, 29 Aug 2017 20:55:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v7TKtFdS060046 for ; Tue, 29 Aug 2017 20:55:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 221920] local_unbound NOT working Date: Tue, 29 Aug 2017 20:55:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: joeb1@a1poweruser.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 20:55:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221920 Bug ID: 221920 Summary: local_unbound NOT working Product: Base System Version: 11.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: joeb1@a1poweruser.com 1. The first time startup logic has usage problem. Requires the "local_unbound_enable=3D"YES" statement in rc.conf and a reboot to create t= he correct files on first time setup. 2. When stopping unbound the /etc/resolv.conf created by unbound needs to be replaced with the saved original version so dns lookups will still work. Th= at means that on unbound startup the unbound version of the /etc/resolv.conf h= as to be swapped back into place. The/etc/rc.d/local_unbound script needs to be changed adding this function. 3.The logfile: verbosity: and local-zone: parameters of the /var/unbound/unbound.conf file do not work. Maybe these are compile time options that need to be enabled when the local_unbound binary was created. 4. The /usr/sbin/local-unbound-setup script needs to be changed in gen_resolvconf_conf() section replacing echo "unbound_conf=3D\"${forward_conf}\"" with echo "unbound_conf=3D\"${unbound_conf}\"" I did the number 4 change and then did "service local_unbound start". Ps ax shows local_unbound running. I have the built in version of ntpd running and keep getting this message repeated all day long Aug 29 10:11:35 testsys ntpd[952]: error resolving pool 0.freebsd.poo l.ntp.org: hostname nor servname provided, or not known (8) When I try to run any svn download job I get this message svn: E170013: Unable to connect to a repository at URL 'svn://svn.freebsd.org/po rts/head/sysutils/qjail' svn: E670008: Unknown hostname 'svn.freebsd.org' When I issue "service local_unbound stop" and followed by number 2, the nor= mal dns environment started working and everything is good again.=20=20 The above error messages do not show up when local_unbound is off, so must = be problem with local_unbound. I can not see how this new built in function has ever worked. --=20 You are receiving this mail because: You are the assignee for the bug.=