chiark / gitweb /
+ * Referrals with RD+RA set, or RCODE=Refused, don't generate warnings,
authorian <ian>
Wed, 28 Jun 2000 00:02:40 +0000 (00:02 +0000)
committerian <ian>
Wed, 28 Jun 2000 00:02:40 +0000 (00:02 +0000)
@@ -23,6 +23,8 @@
+  * Referrals with RD+RA set, or RCODE=Refused, don't generate warnings,
+    just debug messages.  BIND does this kind of thing all the time.

changelog
src/reply.c

index 5b54121391eb6eb81ddb33a42514d93e1e4d595e..ccdfb63bee977a7072afe0d51c322a386172c05c 100644 (file)
--- a/changelog
+++ b/changelog
@@ -23,6 +23,8 @@ adns (0.9) unstable; urgency=high
   * m1test script can invoke `hrecord' differently.
   * regress/output-<case>.report file contains more useful info.
   * TODO list and other docs updated slightly.
+  * Referrals with RD+RA set, or RCODE=Refused, don't generate warnings,
+    just debug messages.  BIND does this kind of thing all the time.
 
  --
 
index fbafb82e646a3c3d502a07cd064e4096c631faa0..bda52a9080938fef9f0d9526c8a7de6d90b60d2a 100644 (file)
@@ -126,7 +126,7 @@ void adns__procdgram(adns_state ads, const byte *dgram, int dglen,
     if (qu) adns__query_fail(qu,adns_s_rcodenotimplemented);
     return;
   case rcode_refused:
-    adns__warn(ads,serv,qu,"server refused our query");
+    adns__debug(ads,serv,qu,"server refused our query");
     if (qu) adns__query_fail(qu,adns_s_rcoderefused);
     return;
   default:
@@ -287,7 +287,7 @@ void adns__procdgram(adns_state ads, const byte *dgram, int dglen,
       if (!flg_rd)
        adns__diag(ads,serv,qu,"server thinks we didn't ask for recursive lookup");
       else
-       adns__diag(ads,serv,qu,"server claims to do recursion, but gave us a referral");
+       adns__debug(ads,serv,qu,"server claims to do recursion, but gave us a referral");
       adns__query_fail(qu,adns_s_invalidresponse);
     }
     return;