The question about named_server_flushcache
After analyzing the execution process of the rndc flush command based on the 9.19 branch, I found that the two judgment conditions in the 11813 line of the named_server_flushcache function cannot be met at the same time. Scenario 1: If the rdnc flush [view] parameter view is transferred, ptr is not empty and the first condition is met. However, needflush corresponding to the view is set to True in the 11781 branch, and the second condition is not met. Scenario 2: If the view parameter is not transferred in rdnc flush [view], ptr is empty and the first condition cannot be met. In this case, the second condition is short-circuited in the 11813 line. Therefore, 11814 cannot be executed. To sum up, I think the code in the 11813 line may be faulty. I hope to maintain the code for review. Thank you.