|
@@ -842,4 +842,18 @@ TEST_F(DataSrcTest, AddRemoveDataSrc) {
|
|
|
ds.removeDataSrc(tsp);
|
|
|
EXPECT_EQ(0, ds.dataSrcCount());
|
|
|
}
|
|
|
+
|
|
|
+#if 0 // currently fails
|
|
|
+TEST_F(DataSrcTest, synthesizedCnameTooLong) {
|
|
|
+ // qname has the possible max length (255 octets). it matches a DNAME,
|
|
|
+ // and the synthesized CNAME would exceed the valid length.
|
|
|
+ createAndProcessQuery(
|
|
|
+ Name("0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcde."
|
|
|
+ "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcde."
|
|
|
+ "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcde."
|
|
|
+ "0123456789abcdef0123456789abcdef0123456789a.dname.example.org."),
|
|
|
+ RRClass::IN(), RRType::A());
|
|
|
+}
|
|
|
+#endif
|
|
|
+
|
|
|
}
|