resolver_basic.feature 897 B

12345678910111213141516
  1. Feature: Basic Resolver
  2. This feature set is just testing the execution of the b10-resolver
  3. module. It sees whether it starts up, takes configuration, and
  4. answers queries.
  5. Scenario: Listen for and answer query
  6. # This scenario starts a server that runs a real resolver.
  7. # In order not to send out queries into the wild, we only
  8. # query for something known to be hardcoded at this moment.
  9. # NOTE: once real priming has been implemented, this test needs
  10. # to be revised (as it would then leak, which is probably true
  11. # for any resolver system test)
  12. When I start bind10 with configuration resolver/resolver_basic.config
  13. And wait for new bind10 stderr message RESOLVER_STARTED
  14. # This answer is currently hardcoded (as part of the fake priming)
  15. A query for l.root-servers.net. should have rcode NOERROR