Created attachment 7960 [details] Trace with the described test case If a record do not exists in the database, the dns server returns "no such name". Buf if the record was added and then deleted then queries on this record will return server fail. It seems that this behaviour is quite perturbing for Windows client (windows 2008r2 server for sure). How to reproduce: host -t a test.<domain> -> returns "no such name" add a record with nsupdate -g host -t a rest.<domain> -> returns the value delete the record with nsupdate -g host -t a rest.<domain> -> returns server fail
ok, got it. Adding a test case and will then prepare a patch.
Created attachment 7961 [details] Patch for v4-0-test This patch fixes the return code and more importantly fixes the test that should have caught the issue. Please review the patch and assign to Karolin.
Karolin, please pick for rc2
Ok I think it should work, now the question is should we get rid of an dns related object if its dnsrecord is empty ?
Pushed to autobuild-v4-0-test. Closing out bug report. Thanks!