Temporarily package Mitch's hack to make delegation work again
[invirt/packages/invirt-dns.git] / invirt-dns
index c320e51..c6394e6 100755 (executable)
@@ -214,10 +214,10 @@ class DelegatingQuotingBindAuthority(authority.BindAuthority):
         # (because we didn't find the name we were asked about).  We
         # leave the 'additional' section as we received it because it
         # may contain A records for the DNS server we're delegating to.
         # (because we didn't find the name we were asked about).  We
         # leave the 'additional' section as we received it because it
         # may contain A records for the DNS server we're delegating to.
-        if maybeDelegate and not isinstance(deferredResult.result,
-                                            failure.Failure):
-            (nsResults, nsAuthority, nsAdditional) = deferredResult.result
-            deferredResult = defer.succeed(([], nsResults, nsAdditional))
+#        if maybeDelegate and not isinstance(deferredResult.result,
+#                                            failure.Failure):
+#            (nsResults, nsAuthority, nsAdditional) = deferredResult.result
+#            deferredResult = defer.succeed(([], nsResults, nsAdditional))
         return deferredResult
 
 if '__main__' == __name__:
         return deferredResult
 
 if '__main__' == __name__: