I created a reproducer below. Upon upgrade named still starts just fine,
and the upgrade itself succeeds. named-checkzone and dig both fail as
expected until the "." is included though. Calls to other endpoints in
the zone also fail


$ lxc launch ubuntu:questing test-questing
$ lxc exec test-questing bash

$ apt update 
$ apt upgrade
$ apt install bind9 bind9-dnsutils

$ cat <<EOF >/etc/bind/example.internal
\$TTL 86400      ; 1 day
example.internal.       IN SOA  example.internal. root.example.internal. (
                                1          ; serial
                                43200      ; refresh (12 hours)
                                900        ; retry (15 minutes)
                                1814400    ; expire (3 weeks)
                                7200       ; minimum (2 hours)
                                )
example.internal.       IN  NS      ns.example.internal.
ns                      IN  A       192.168.1.10

amt-test IN     AMTRELAY 11 0 0
EOF

$ cat <<EOF >/etc/bind/named.conf.local
zone "example.internal" {
    type master;
    file "/etc/bind/example.internal";
};
EOF

$ systemctl restart named
$ named-checkzone example.internal /etc/bind/example.internal
OK

$ dig @127.0.0.1 amt-test.example.internal AMTRELAY +short
11 0 0

$ add-apt-repository ppa:lvoytek/bind9-mre
$ apt update
$ apt upgrade

$ named-checkzone example.internal /etc/bind/example.internal
dns_rdata_fromtext: /etc/bind/example.internal:12: near eol: unexpected end of 
input
zone example.internal/IN: loading from master file /etc/bind/example.internal 
failed: unexpected end of input
zone example.internal/IN: not loaded due to errors.

$ dig @127.0.0.1 amt-test.example.internal AMTRELAY +short
(no output)

- Add "." to record

$ dig @127.0.0.1 amt-test.example.internal AMTRELAY +short
11 0 0 .

$ named-checkzone example.internal /etc/bind/example.internal
OK

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2126464

Title:
  Backport of bind9 for questing, noble, and jammy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bind-dyndb-ldap/+bug/2126464/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to