]> 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>
Fri, 16 Dec 2016 14:30:26 +0000 (15:30 +0100)
commit221a3f72e117a0e0fdf9e4fedf237a8e6526d145
tree6fe964a073353ed0fcb3c9f2864b8837b0f95184
parent81d1f2713499581a1d7929f66f7032e069e1809a
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
pdns/syncres.cc
regression-tests.recursor/auth-zones/command
regression-tests.recursor/auth-zones/expected_result