unbound: fix `create_host_record_from_host` error when `dns` is not set 22721/head
authorJulien Cassette <julien.cassette@gmail.com>
Tue, 21 Nov 2023 08:43:29 +0000 (09:43 +0100)
committerJulien Cassette <julien.cassette@gmail.com>
Wed, 22 Nov 2023 12:19:00 +0000 (13:19 +0100)
commit8d60419251b2c94f87425f41ce49214771d2bf6a
treed4842340e792ea54caf8bf1f20e8cf423f95bc60
parent7fb8337c89708c168ddb76b29d3f80a6da20f85d
unbound: fix `create_host_record_from_host` error when `dns` is not set

The function `create_host_record_from_host` fails if the `dns` option
is not set in the host entry.
This sets a default to the `dns` variable in order to fix this error.

Fixes: #22691
Signed-off-by: Julien Cassette <julien.cassette@gmail.com>
net/unbound/Makefile
net/unbound/files/dnsmasq.sh