]> git.ipfire.org Git - thirdparty/pdns.git/commit
Introduce a Bind-style Views feature.
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Mon, 7 Apr 2025 13:25:39 +0000 (15:25 +0200)
committerMiod Vallat <miod.vallat@powerdns.com>
Mon, 26 May 2025 11:49:12 +0000 (13:49 +0200)
commitb9afd1d6a54c2bd7a0b1712cee6cafa8e39ea83a
treecae810ba28142e76a820244172eee034efdaf7ed
parent6663881054b8f580609e3c982b191863687108f3
Introduce a Bind-style Views feature.

Add interfaces to the zone cache to get the view name from the
originating network address, and to retrieve the appropriate
variant name to use to update a ZoneName when necessary.

Allow updates from the http api.

Add zonecache unit test for views.
pdns/auth-zonecache.cc
pdns/auth-zonecache.hh
pdns/iputils.hh
pdns/packethandler.cc
pdns/test-auth-zonecache_cc.cc
pdns/ueberbackend.cc
pdns/ueberbackend.hh
pdns/ws-auth.cc