Browse Source

[2430] Check NS records too in lettuce test

Mukund Sivaraman 11 years ago
parent
commit
a0d7b9f1bc
1 changed files with 7 additions and 0 deletions
  1. 7 0
      tests/lettuce/features/master_loader.feature

+ 7 - 0
tests/lettuce/features/master_loader.feature

@@ -41,3 +41,10 @@ Feature: Master loader feature
         host4.example.org.        3600    IN      A       192.0.2.4
         """
         A query for host5.example.org should have rcode NXDOMAIN
+
+        A query for example.org type NS should have rcode NOERROR
+        The answer section of the last query response should be
+        """
+        example.org.              3600    IN      NS      ns1.example.org.
+        example.org.              3600    IN      NS      ns2.example.org.
+        """