diff options
Diffstat (limited to 'usr.sbin/nsd/answer.c')
-rw-r--r-- | usr.sbin/nsd/answer.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/nsd/answer.c b/usr.sbin/nsd/answer.c index be43c4c6cd1..c7b86fb2072 100644 --- a/usr.sbin/nsd/answer.c +++ b/usr.sbin/nsd/answer.c @@ -95,6 +95,11 @@ encode_answer(query_type *q, const answer_type *answer) * sections. */ if (done) { + /* delegations should have a usable address in it */ + if(section == ADDITIONAL_A_SECTION && + counts[ADDITIONAL_A_SECTION] == 0 && + q->delegation_domain) + TC_SET(q->packet); break; } #endif |