auth_basic.feature 964 B

1234567891011121314151617181920
  1. Feature: Basic Authoritative DNS server
  2. This feature set is for testing the execution of the b10-auth
  3. component using its default datasource configurations. This
  4. will start it and perform queries against it.
  5. Scenario: Query builtin bind zone
  6. Given I have bind10 running with configuration auth/auth_basic.config
  7. And wait for bind10 stderr message BIND10_STARTED_CC
  8. And wait for bind10 stderr message CMDCTL_STARTED
  9. And wait for bind10 stderr message AUTH_SERVER_STARTED
  10. bind10 module Auth should be running
  11. And bind10 module Resolver should not be running
  12. A query for example.com should have rcode REFUSED
  13. A query for version.bind type TXT class CH should have rcode NOERROR
  14. A query for authors.bind type TXT class CH should have rcode NOERROR
  15. # TODO: to be compatible with BIND 9
  16. # A query for nonexistent.bind type TXT class CH should have rcode REFUSED