Browse Source

AAAA not working for now so added print of type to show that.
Also added some comments todo.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@203 e5f2f494-b856-4b98-b285-d166d9295462

Jeremy C. Reed 15 years ago
parent
commit
75eb1a483e
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/bin/host/host.cc

+ 3 - 1
src/bin/host/host.cc

@@ -88,6 +88,8 @@ host_lookup(char* name, char* type)
                 gettimeofday(&after_time, NULL);
             }
 
+// This is for verbose too
+// no check yet until non-verbose way is done
             // HEADER and QUESTION SECTION:
             std::cout << rmsg.toText() << std::endl;
 // ;; ANSWER SECTION:
@@ -113,7 +115,7 @@ host_lookup(char* name, char* type)
                 " bytes in " << elapsed_time << " ms\n";
 // TODO: " bytes from 127.0.0.1#53 in 0 ms
         } catch (...) {
-            std::cerr << "parse failed" << std::endl;
+            std::cerr << "parse failed for " << type << std::endl;
         }
     }