|
@@ -280,14 +280,18 @@ struct ErrorCase {
|
|
|
{ "www FORTNIGHT IN A 192.0.2.1", NULL, "Invalid TTL" },
|
|
|
{ "www 3600 XX A 192.0.2.1", NULL, "Invalid class" },
|
|
|
{ "www 3600 IN A bad_ip", NULL, "Invalid Rdata" },
|
|
|
- { "www IN A 3600 192.168.2.7", NULL,
|
|
|
- "Invalid Rdata (incorrect order of class, TTL and type)" },
|
|
|
- { "www A IN 3600 192.168.2.8", NULL,
|
|
|
- "Invalid Rdata (incorrect order of class, TTL and type)" },
|
|
|
- { "www 3600 A IN 192.168.2.7", NULL,
|
|
|
- "Invalid Rdata (incorrect order of class, TTL and type)" },
|
|
|
- { "www A 3600 IN 192.168.2.8", NULL,
|
|
|
- "Invalid Rdata (incorrect order of class, TTL and type)" },
|
|
|
+ { "www IN A 3600 192.168.2.7",
|
|
|
+ "createRdata from text failed: IN/A RDATA construction from text failed",
|
|
|
+ "Incorrect order of class, TTL and type" },
|
|
|
+ { "www A IN 3600 192.168.2.8",
|
|
|
+ "createRdata from text failed: IN/A RDATA construction from text failed",
|
|
|
+ "Incorrect order of class, TTL and type" },
|
|
|
+ { "www 3600 A IN 192.168.2.7",
|
|
|
+ "createRdata from text failed: IN/A RDATA construction from text failed",
|
|
|
+ "Incorrect order of class, TTL and type" },
|
|
|
+ { "www A 3600 IN 192.168.2.8",
|
|
|
+ "createRdata from text failed: IN/A RDATA construction from text failed",
|
|
|
+ "Incorrect order of class, TTL and type" },
|
|
|
{ "www 3600 IN", NULL, "Unexpected EOLN" },
|
|
|
{ "www 3600 CH TXT nothing", NULL, "Class mismatch" },
|
|
|
{ "www \"3600\" IN A 192.0.2.1", NULL, "Quoted TTL" },
|