Bug#1110202: "/etc/bind/named.conf.root-hints:2: when using 'view' stat
From
Jonathan Kamens@21:1/5 to
All on Thu Jul 31 22:50:01 2025
Package: bind9
Version: 1:9.20.11-4
Severity: normal
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.
-- System Information:
Debian Release: 13.0
APT prefers testing-security
APT policy: (500, 'testing-security'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.38+deb13-amd64 (SMP w/20 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages bind9 depends on:
ii adduser 3.152
ii bind9-libs 1:9.20.11-4
ii bind9-utils 1:9.20.11-4
ii debconf [debconf-2.0] 1.5.91
ii dns-root-data 2024071801
ii init-system-helpers 1.68
ii iproute2 6.15.0-1
ii libc6 2.41-11
ii libcap2 1:2.75-10
ii libfstrm0 0.6.1-1+b3
ii libjemalloc2 5.3.0-3
ii libjson-c5 0.18+ds-1
ii liblmdb0 0.9.31-1+b2
ii libmaxminddb0 1.12.2-1
ii libnghttp2-14 1.64.0-1.1
ii libprotobuf-c1 1.5.1-1
ii libssl3t64 3.5.1-1
ii libuv1t64 1.50.0-2
ii libxml2 2.12.7+dfsg+really2.9.14-2.1
ii netbase 6.5
ii zlib1g 1:1.3.dfsg+really1.3.1-1+b1
bind9 recommends no packages.
Versions of packages bind9 suggests:
ii bind9-dnsutils 1:9.20.11-4
pn bind9-doc <none>
pn resolvconf <none>
ii ufw 0.36.2-9
-- Configuration Files:
/etc/bind/named.conf.local changed [not included]
/etc/bind/named.conf.options changed [not included] /etc/bind/named.conf.root-hints changed [not included]
-- no debconf information
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)