Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Aug 2017 20:55:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 221920] local_unbound NOT working
Message-ID:  <bug-221920-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221920-8>