Package: knot
Version: 2.4.0-3
Severity: normal
Hi,
knot does not listen on all configured addresses after system boot.
I configure knot to listen on two addresses:
| root@kearsarge:~# cat /etc/knot/conf.d/local-10-listen.conf
| server:
| listen: 37.247.49.179@53
| listen: 2a00:dcc0:dead:a1b3::1@53
These are configured via network/interfaces:
| auto eth0
| iface eth0 inet dhcp
| iface eth0 inet6 static
| accept_ra 0
| # kearsarge - 2a00:dcc0:dead:a1b3::/64
| address 2a00:dcc0:dead:a1b3::1/56
| gateway 2a00:dcc0:dead:a1ff::1
After the system has booted, ip a looks like this:
| 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP
group default qlen 1000
| link/ether 00:16:3c:0f:eb:19 brd ff:ff:ff:ff:ff:ff
| inet 37.247.49.179/24 brd 37.247.49.255 scope global eth0
| valid_lft forever preferred_lft forever
| inet6 2a00:dcc0:dead:a1b3::1/56 scope global
| valid_lft forever preferred_lft forever
| inet6 fe80::216:3cff:fe0f:eb19/64 scope link
| valid_lft forever preferred_lft forever
However,
| root@kearsarge:~# netstat -nlt
[..]
| tcp 0 0 37.247.49.179:53 0.0.0.0:* LISTEN
[..]
I need to restart knot another time to have it bind the ipv6 interface:
| root@kearsarge:~# service knot restart
| root@kearsarge:~# netstat -nplt | grep 53
| tcp 0 0 37.247.49.179:53 0.0.0.0:* LISTEN
21017/knotd
| tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN
858/unbound
| tcp 0 0 127.0.0.1:8953 0.0.0.0:* LISTEN
858/unbound
| tcp6 0 0 2a00:dcc0:dead:a1b3::53 :::* LISTEN
21017/knotd
| tcp6 0 0 ::1:53 :::* LISTEN
858/unbound
| tcp6 0 0 ::1:8953 :::* LISTEN
858/unbound
| root@kearsarge:~#
knot should listen on all configured addresses.
--
| .''`. ** Debian **
Peter Palfrader | : :' : The universal
https://www.palfrader.org/ | `. `' Operating System
| `- https://www.debian.org/