luci-proto-wireguard: use ddns lookup_host for peer hints
authorJo-Philipp Wich <jo@mein.io>
Tue, 14 Mar 2023 22:34:53 +0000 (23:34 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 14 Mar 2023 22:36:39 +0000 (23:36 +0100)
commit59a6f062d29ee7a400e9cb0477e0e55eb674208a
treeeb47bfd1d6acf3f9ffa0a82bc59dd6dd2a1be2f5
parentc7df6e7ea5e77ef82b16b7157d8ee5977802bd10
luci-proto-wireguard: use ddns lookup_host for peer hints

The `domain` option of a DDNS service entry may contain non-hostname values,
use the `lookup_hostname` option instead.

Fixes: #6289
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js