]> granicus.if.org Git - pdns/commit
rec: only delegate if NS's are below apex in auth-zones
authorPieter Lexis <pieter.lexis@powerdns.com>
Fri, 16 Dec 2016 14:24:13 +0000 (15:24 +0100)
committerPieter Lexis <pieter.lexis@powerdns.com>
Tue, 14 Feb 2017 13:05:06 +0000 (14:05 +0100)
commit2875033835445920aa2e4d4e8bd5dfb6bb643bb4
tree8f687c9881784dde1a7ed77de54815e3397ba89e
parenta08b422d4b9ec0ca250478b44a905042f40cdd2a
rec: only delegate if NS's are below apex in auth-zones

As:
 1. we **are** authoritative for the zone named at the apex
 2. We would servfail because we could get an upward referral

Closes #4771

(cherry picked from commit 221a3f72e117a0e0fdf9e4fedf237a8e6526d145)
pdns/syncres.cc
regression-tests.recursor/auth-zones/command
regression-tests.recursor/auth-zones/expected_result