]> git.ipfire.org Git - thirdparty/pdns.git/commit
rec: Fix IPv6-outgoing-only zero-scope ECS test
authorPieter Lexis <pieter.lexis@powerdns.com>
Wed, 10 Jun 2020 08:20:06 +0000 (10:20 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 3 Jul 2020 08:25:08 +0000 (10:25 +0200)
commit8064abbb4674271d213354ca47d03d68b4cd100a
treef428cb9fe1a97076132bef5a597570936933fed8
parent7d021373230108f9c6f70b4ac9ebfba4967b8e0d
rec: Fix IPv6-outgoing-only zero-scope ECS test

The recursor uses the outgoing address family to set the ECS address to
a localhost address when a client indicates that it wants no ECS (by
setting the all-zero scope).

Now that we _actually_ do v6-only outgoing when requested by configuration,
we need the regression test auths to listen on v6.

This change to the regression tests makes the ROOT auth listen on
[::1]:53, adds the hints, and for the ECS test, starts an IPv6 ECS
echo responder on [::1]:53000 and uses that address for the
forward-zone.
regression-tests.recursor-dnssec/recursortests.py
regression-tests.recursor-dnssec/test_ECS.py