Important: A significant flaw is present in June BIND releases 9.16.17 and 9.17.14

2021-06-17 Thread Michael McNally

Dear BIND users:

Yesterday, 16 June 2021, we released monthly maintenance snapshot releases of
our currently supported release branches of BIND.

Specifically, we released BIND 9.11.33, 9.16.17, and 9.17.14

There's no way to say this that isn't embarrassing, but only after the release
was an error in a recently optimized routine discovered by a user -- an error
that will definitely cause operational problems for almost all server operators
who upgrade to either of these affected versions:

-  BIND 9.16.17
-  BIND 9.17.14

BIND 9.11.33 is NOT affected.

If you have not yet updated to the 16 June releases, we ask that you hold off
on any plans to install 9.16.17 or 9.17.14 until replacement releases can be
prepared and tested.

The specific issue in question is being tracked in our issue tracker:

   https://gitlab.isc.org/isc-projects/bind9/-/issues/2779

and more information about our plans for issuing replacement releases will be
provided later; at the moment our priority is getting the news to parties as
quickly as possible so that those who have not already adopted the new releases
can postpone until corrected versions are available.

Michael McNally
Internet Systems Consortium
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: How do I identify if bind9 is using 4 cores?

2021-06-17 Thread Manish Rane
Great - Thanks for the help
--
Thanks and Regards,
Manish R


On Fri, Jun 18, 2021 at 1:44 AM Dennis Clarke via bind-users <
bind-users@lists.isc.org> wrote:

> On 6/17/21 03:47, Manish Rane wrote:
> > Does this mean and I can assume that bind has started with 4 cores?
> >
> >   CGroup: /system.slice/named.service
> >`-3150 /usr/sbin/named -f -u bind -n 4
> >
> --
> > Thanks and Regards,
> > Manish R
> >
>
> You may be able to ask with rndc :
>
> #
> # /usr/local/sbin/rndc -s 127.0.0.1 \
> > -k /etc/opt/isc/named/rndc.key \
> > -p 953 status 2>&1 | grep 'threads'
> worker threads: 1
> #
>
>
> --
> Dennis Clarke
> RISC-V/SPARC/PPC/ARM/CISC
> UNIX and Linux spoken
> GreyBeard and suspenders optional
> ___
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to
> unsubscribe from this list
>
> ISC funds the development of this software with paid support
> subscriptions. Contact us at https://www.isc.org/contact/ for more
> information.
>
>
> bind-users mailing list
> bind-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
>
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: How do I identify if bind9 is using 4 cores?

2021-06-17 Thread Dennis Clarke via bind-users
On 6/17/21 03:47, Manish Rane wrote:
> Does this mean and I can assume that bind has started with 4 cores?
> 
>   CGroup: /system.slice/named.service
>`-3150 /usr/sbin/named -f -u bind -n 4
> --
> Thanks and Regards,
> Manish R
> 

You may be able to ask with rndc :

#
# /usr/local/sbin/rndc -s 127.0.0.1 \
> -k /etc/opt/isc/named/rndc.key \
> -p 953 status 2>&1 | grep 'threads'
worker threads: 1
#


-- 
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: My FC33->FC34 bind-chroot upgrade notes

2021-06-17 Thread Reindl Harald



Am 17.06.21 um 21:43 schrieb ToddAndMargo via bind-users:

On 6/17/21 3:12 AM, Reindl Harald wrote:
however, in the real world just write "sudo command" is the best you 
can do - for the average user it's complete and leaves no questions


for power users which don't like sudo it should be no deal-breaker to 
type the command without "sudo" in a root shell


case closed



All I have to do is get over hating the sudo command


i don't use it too but i have no problem pastign something with "sudo" 
in front without into a terminal



And I kinda-sorta of expect anyone that uses "bind"
(power uses in the extreme -- genius level) to know
what # and $ at the prompt means


i am that much power-user that my prompt don't show that because i 
perfer colors for different roles and as short as possible prompts :-)

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Limit actions on control channel?

2021-06-17 Thread John Thurston
I see I can define (using the 'controls' statement) a 'read-only' inet 
channel. I suspect I could define a couple of channels on the same 
address if I put them on different ports. Is there a way to define a 
single 'read-write' channel, and then limit certain keys to read-only 
access on it?


Here's the scenario:

I'd like to have a single control channel listening (on port 953, for 
example). I'd like to say the key named "foo" can do lots of things, but 
the key named "bar" can only submit a "status" message. This would let 
our monitoring application ask for "status" without also letting it ask 
for "reload" or "flushname".


--
--
Do things because you should, not just because you can.

John Thurston907-465-8591
john.thurs...@alaska.gov
Department of Administration
State of Alaska
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: My FC33->FC34 bind-chroot upgrade notes

2021-06-17 Thread ToddAndMargo via bind-users

On 6/17/21 3:12 AM, Reindl Harald wrote:
however, in the real world just write "sudo command" is the best you can 
do - for the average user it's complete and leaves no questions


for power users which don't like sudo it should be no deal-breaker to 
type the command without "sudo" in a root shell


case closed



All I have to do is get over hating the sudo command.

And I kinda-sorta of expect anyone that uses "bind"
(power uses in the extreme -- genius level) to know
what # and $ at the prompt means.

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: My FC33->FC34 bind-chroot upgrade notes

2021-06-17 Thread Reindl Harald



Am 17.06.21 um 07:43 schrieb Todd Chester via bind-users:

On 6/16/21 2:52 PM, Reindl Harald wrote:

Does this alteration at the top make it any clearer?


 Note: at the command prompt, I use the following terminology:
    # means run as root
    $ means run as user

 Inside a file, "#" mean it is a comment


not really - either use the ubuntu "sudo everything" or just type 
"root: command" and "user: command"


: that would confuse the dickens out of me.
I program in Raku (Perl 6) and  ":" has a bunch
of special meanings that I always forget.  So
":" give me a start


but when you follow a how-to which tells you commands to run in the 
terminal leaded by the user you don't do program in Raku


a) the typical user don't program at all
b) i expect from programmers some sense for context
c) # is typcally a comment
d) $ leads a variable in PHP, but we don't talk about PHP
e) the typical user won't remember what # and $ means

however, in the real world just write "sudo command" is the best you can 
do - for the average user it's complete and leaves no questions


for power users which don't like sudo it should be no deal-breaker to 
type the command without "sudo" in a root shell


case closed
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: hooks in bind's DNSSEC automation to trigger external scripting of DS RECORDS updates, when CDS/CDNSKEY polling is (still) not available?

2021-06-17 Thread Matthijs Mekking



On 16-06-2021 17:04, PGNet Dev wrote:
@jpmens was kind enough to share the original basis for the simple perl 


He also mentioned

 Logging of CDS/CDNSKEY generation for workflow
  https://gitlab.isc.org/isc-projects/bind9/-/issues/1748

which requests:

 Would it be possible to log CDS/CDNSKEY generation in such a way as 
that a "simple" workflow can be implemented in order to create tooling 
which reacts on the log and performs a dynamic update on a parent zone.
 Whenever a CDS/CDNSKEY is published in a child zone, BIND could 
create a log record indicating for which zone this has occurred.


and appears to have been implemented (?), but not committed/released.


This logging was added in 9.16.7

https://gitlab.isc.org/isc-projects/bind9/-/merge_requests/4067
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: How do I identify if bind9 is using 4 cores?

2021-06-17 Thread Reindl Harald



Am 17.06.21 um 05:32 schrieb Manish Rane:

Hi Team,

I have BIND 9.16.17-Ubuntu on ubuntu and have 4 cores. I have configured

  more /etc/default/bind9
OPTIONS="-n 4"

And then restarted the services. How do I verify if bind9 has spawned 4 
processes and distributed among those?


it's threaded, so no processes and to verify just read your syslogs at 
restart/start of the service


Jun 17 11:59:58 srv-rhsoft named[241354]: found 8 CPUs, using 8 worker 
threads
Jun 17 11:59:58 srv-rhsoft named[241354]: using 7 UDP listeners per 
interface

Jun 17 11:59:58 srv-rhsoft named[241354]: using up to 21000 sockets
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: How do I identify if bind9 is using 4 cores?

2021-06-17 Thread Manish Rane
Oh - Thanks for the help.
--
Thanks and Regards,
Manish R


On Thu, Jun 17, 2021 at 1:59 PM Anand Buddhdev  wrote:

> On 17/06/2021 05:32, Manish Rane wrote:
>
> Hi Manish,
>
> > I have BIND 9.16.17-Ubuntu on ubuntu and have 4 cores. I have configured
> >
> >  more /etc/default/bind9
> > OPTIONS="-n 4"
> >
> > And then restarted the services. How do I verify if bind9 has spawned 4
> > processes and distributed among those?
>
> BIND does not start multiple processes. There's only ever one process,
> called "named". BIND starts multiple threads. You can see these by using
> the "top" command in Linux, and then pressing "H" to see threads rather
> than processes. You should see 4 worker threads, as well as some other
> threads.
>
> Regards,
> Anand
> ___
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to
> unsubscribe from this list
>
> ISC funds the development of this software with paid support
> subscriptions. Contact us at https://www.isc.org/contact/ for more
> information.
>
>
> bind-users mailing list
> bind-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
>
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: How do I identify if bind9 is using 4 cores?

2021-06-17 Thread Anand Buddhdev
On 17/06/2021 05:32, Manish Rane wrote:

Hi Manish,

> I have BIND 9.16.17-Ubuntu on ubuntu and have 4 cores. I have configured
> 
>  more /etc/default/bind9
> OPTIONS="-n 4"
> 
> And then restarted the services. How do I verify if bind9 has spawned 4
> processes and distributed among those?

BIND does not start multiple processes. There's only ever one process,
called "named". BIND starts multiple threads. You can see these by using
the "top" command in Linux, and then pressing "H" to see threads rather
than processes. You should see 4 worker threads, as well as some other
threads.

Regards,
Anand
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users