]> granicus.if.org Git - pdns/commitdiff
our random may be random, but it is authoritative random!!
authorBert Hubert <bert.hubert@netherlabs.nl>
Tue, 4 Jan 2011 19:35:10 +0000 (19:35 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Tue, 4 Jan 2011 19:35:10 +0000 (19:35 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1805 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/randombackend.cc

index c835463dd7a535adba2a4933ac73b362cbb746ef..ae236d8c2f17c71ef6e1e0ac0475b8639bb4dea1 100644 (file)
@@ -57,6 +57,7 @@ public:
       rr.qname=d_ourname;                                           // fill in details
       rr.qtype=QType::A;                                            // A record
       rr.ttl=5;                                                 // 5 seconds
+      rr.auth = 1;  // it may be random.. but it is auth!
       rr.content=d_answer;
 
       d_answer="";                                                  // this was the last answer