]> git.feebdaed.xyz Git - 0xmirror/libreswan.git/commitdiff
Merge ddns: use unbound, when enabled, to resolve right=right.libreswan.org
authorAndrew Cagney <cagney@gnu.org>
Tue, 23 Dec 2025 20:52:09 +0000 (15:52 -0500)
committerAndrew Cagney <cagney@gnu.org>
Tue, 23 Dec 2025 21:13:38 +0000 (16:13 -0500)
notes:

- `ipsec whack --dns` expects an uncached resolve

  hence code is creating unbound context on every request
  the command should instead flush the cache (but how?)

  see #2559 ipsec ddns should flush cache

- the tests needed dnssec disabled (but still use unbound)

  else things didn't validate

- there's still unbound code for looking up dnskeys

  see #2560 merge resolve helper and ikev2_ipseckey?

- need to update ttoaddress_dns() to use unbound

  but this means somehow making ipsec.conf's dns* settings
  available to that code; for instance in showhostkey

  see #2333 should ttoaddress_dns() call unbound_resolve() when available?

close #2353 should a half resolved connection orient
close #1749 ikev2-ddns-02 fails intermittently


Trivial merge