nit-picking knf question

2021-08-31 Thread gwes
Where to declare local variables used in a small subordinate scope? Specifically at the top of a routine or at the beginning of the context where they're used? I don't see it in style(9) i.e. extern int fum; int foo() { here 1> int a_local;     while (condition()) {    if (anothe

Re: Accessing LAN behind gateway from Road Warrior on wg(4) based tunnel

2021-08-31 Thread Erling Westenvik
On Mon, Aug 30, 2021 at 07:42:43AM -, Stuart Henderson wrote: > On 2021-08-29, Erling Westenvik wrote: > > On Fri, Aug 27, 2021 at 07:36:21PM -, Stuart Henderson wrote: > >> > >> Make sure you have set wgaip to allow traffic from the machines on the > >> subnet on the other side of the tu

Re: resolvd recongizing unbound

2021-08-31 Thread Stuart Henderson
On 2021-08-31, Paul de Weerd wrote: > 2. echo ::1 > /etc/resolv.conf I think it is a good idea to list a second nameserver, in case unbound dies or isn't running for some reason (for one, booting bsd.rd for an upgrade). -- Please keep replies on the mailing list.

Re: resolvd recongizing unbound

2021-08-31 Thread Jan Stary
On Aug 31 16:32:23, we...@weirdnet.nl wrote: > On Tue, Aug 31, 2021 at 03:31:18PM +0200, Jan Stary wrote: > | The running resolvd recognizes if unwind is running, > | and places 127.0.0.1 at the top of resolv.conf accordingly. > | > | Could we have the same for unbound please? > | I run unbound in

Re: resolvd recongizing unbound

2021-08-31 Thread Paul de Weerd
On Tue, Aug 31, 2021 at 03:31:18PM +0200, Jan Stary wrote: | The running resolvd recognizes if unwind is running, | and places 127.0.0.1 at the top of resolv.conf accordingly. | | Could we have the same for unbound please? | I run unbound insted of unwind to also serve some | local names the machi

Re: resolvd recongizing unbound

2021-08-31 Thread Theo de Raadt
Sebastien Marie wrote: > On Tue, Aug 31, 2021 at 03:31:18PM +0200, Jan Stary wrote: > > The running resolvd recognizes if unwind is running, > > and places 127.0.0.1 at the top of resolv.conf accordingly. > > > > Could we have the same for unbound please? > > I run unbound insted of unwind to al

Re: resolvd recongizing unbound

2021-08-31 Thread Sebastien Marie
On Tue, Aug 31, 2021 at 03:31:18PM +0200, Jan Stary wrote: > The running resolvd recognizes if unwind is running, > and places 127.0.0.1 at the top of resolv.conf accordingly. > > Could we have the same for unbound please? > I run unbound insted of unwind to also serve some > local names the machi

Re: resolvd recongizing unbound

2021-08-31 Thread Paco Esteban
On Tue, 31 Aug 2021, Jan Stary wrote: > The running resolvd recognizes if unwind is running, > and places 127.0.0.1 at the top of resolv.conf accordingly. > > Could we have the same for unbound please? > I run unbound insted of unwind to also serve some > local names the machines around the offic

resolvd recongizing unbound

2021-08-31 Thread Jan Stary
The running resolvd recognizes if unwind is running, and places 127.0.0.1 at the top of resolv.conf accordingly. Could we have the same for unbound please? I run unbound insted of unwind to also serve some local names the machines around the office (beside resolution). But resolvd only recognizes