From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: feature request ... Date: Mon, 21 Mar 2022 19:26:21 +0000 Message-ID: <063ADDA7-6D85-4A50-97EF-090978A2E322@ipfire.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3415916928976175959==" List-Id: --===============3415916928976175959== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Paul, Please don=E2=80=99t forget to CC the development list. The goal here should be to integrate the patch into the distribution instead = of developing any workarounds. Restarting unbound has an impact on its cache = and generally is not a useful idea. Unfortunately the author of the patch has not submitted it to the list, and h= as also made more changes to the logging system of the script. I have no idea= why that would have been necessary. Could you please remind the author to submit this patch to the list as Adolf = has pointed out so that we can work on integrating the changes? -Michael > On 21 Mar 2022, at 19:19, paul kairis wrote: >=20 > Hi Michael >=20 > When a new system comes into the network via dhcp, unbound is not notified = hence name resolution does not work. When a system expires from dhcp, unbound= still remembers it. This is discussed extensively in https://bugzilla.ipfire= .org/show_bug.cgi?id=3D12694 My only solution is to restart dhcp and unbound;= then dhcp table matches unbound table. Many times I have 16 hosts in dhcp bu= t 22 in unbound since unbound keeps that (ip,name) pair forever.=20 >=20 > Paul >=20 >=20 > On Mon, Mar 21, 2022 at 12:01 PM Michael Tremer wrote: > Hello Paul, >=20 > > On 21 Mar 2022, at 13:45, paul kairis wrote: > >=20 > > I would like to have one option in any of the dropdown menus titled "User= Exit". When clicked, it will execute a bash script.=20 > > The interface needs a text box where I specify the path of the script (/r= oot/rst). The user needs to make sure the script is +x > > No error checking but a Warning: Use this only if you know what it does !! > >=20 > > /etc/init.d/dhcp stop > > /etc/init.d/dhcp start > > sleep 2 > > /etc/init.d/unbound restart > >=20 > > The reason:=20 > > Until the issues with DHCP and unbound bridge are resolved (and there are= many to list here, there are bugs open),=20 > > I have a small 4 line script that I login to ipfire and execute (restart = dhcp and unbound) so that name resolution works.=20 > > It saves me time from having to pop a term, login to ipfire and exec rst.= It would be much easier to do it from the WUI. >=20 > What issues with the bridge are you referring to? >=20 > >=20 > > Thank you, Paul > > =20 > >=20 >=20 --===============3415916928976175959==--