|
@@ -12,5 +12,15 @@ Feature: Basic Resolver
|
|
|
# for any resolver system test)
|
|
|
When I start bind10 with configuration resolver/resolver_basic.config
|
|
|
And wait for new bind10 stderr message RESOLVER_STARTED
|
|
|
- # This answer is currently hardcoded (as part of the fake priming)
|
|
|
+
|
|
|
+ # The ACL is set to reject any queries
|
|
|
+ A query for l.root-servers.net. should have rcode REFUSED
|
|
|
+
|
|
|
+ # Test whether acl ACCEPT works
|
|
|
+ When I set bind10 configuration Resolver/query_acl[0]/action to ACCEPT
|
|
|
+ # This address is currently hardcoded, so shouldn't cause outside traffic
|
|
|
A query for l.root-servers.net. should have rcode NOERROR
|
|
|
+
|
|
|
+ # Check whether setting the ACL to reject again works
|
|
|
+ When I set bind10 configuration Resolver/query_acl[0]/action to REJECT
|
|
|
+ A query for l.root-servers.net. should have rcode REFUSED
|