Browse Source

[trac505] added some comments about dname.example.com for the mock zone.

JINMEI Tatuya 14 years ago
parent
commit
f9a11dcba2
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/bin/auth/tests/query_unittest.cc

+ 4 - 2
src/bin/auth/tests/query_unittest.cc

@@ -99,8 +99,10 @@ const char* const other_zone_rrs =
 // behavior.
 // For simplicity, most names are assumed to be "in zone"; there's only
 // one zone cut at the point of name "delegation.example.com".
-// It doesn't handle empty non terminal nodes (if we need to test such cases
-// find() should have specialized code for it).
+// Another special name is "dname.example.com".  Query names under this name
+// will result in DNAME.
+// This mock zone doesn't handle empty non terminal nodes (if we need to test
+// such cases find() should have specialized code for it).
 class MockZone : public Zone {
 public:
     MockZone() :