Just upgraded bind9, got this during the upgrade: Installing new version of config file /etc/bind/named.conf ... /etc/bind/named.conf.root-hints:2: when using 'view' statements, all zones must be in views dpkg: error processing package bind9 (--configure): This is because I use views in /etc/bind/named.conf.local. I imagine other people are going to run into this as well. I'm not sure what the right fix is, but I felt I should call this out as an issue.
This is not a bug.
I don't think it is a bug in bind. I do think it is a bug in the Debian packaging of bind: breaking people's existing configurations on upgrade without any advance warning or instructions for how to fix it. At the very least IMO it should be documented in NEWS.Debian.
What could the Debian packaging do here? Isnt it that the new version of bind ist just stricter in what it expects to be inside a view and what is allowed outside of a view? You could start with sending a patch to NEWS.Debian or filing an MR on Salsa. It is always easier to just accept a suggestion than to write your own. That being said, it is unlikely that thie NEWS.Debian change will be in trixie unless another issue might warrant a stable update that this NEWS.Debian change could be piggybacked on. Greetings Marc