xfrin_bind10.feature 1.6 KB

12345678910111213141516171819202122232425262728293031
  1. Feature: Xfrin
  2. Tests for Xfrin, specific for BIND 10 behaviour.
  3. Scenario: Retransfer command
  4. Given I have bind10 running with configuration xfrin/retransfer_master.conf with cmdctl port 47804 as master
  5. And wait for master stderr message BIND10_STARTED_CC
  6. And wait for master stderr message CMDCTL_STARTED
  7. And wait for master stderr message AUTH_SERVER_STARTED
  8. And wait for master stderr message XFROUT_STARTED
  9. And wait for master stderr message ZONEMGR_STARTED
  10. And I have bind10 running with configuration xfrin/retransfer_slave.conf
  11. And wait for bind10 stderr message BIND10_STARTED_CC
  12. And wait for bind10 stderr message CMDCTL_STARTED
  13. And wait for bind10 stderr message AUTH_SERVER_STARTED
  14. And wait for bind10 stderr message XFRIN_STARTED
  15. And wait for bind10 stderr message ZONEMGR_STARTED
  16. A query for www.example.org should have rcode REFUSED
  17. Wait for bind10 stderr message CMDCTL_STARTED
  18. When I send bind10 the command Xfrin retransfer example.org IN ::1 47807
  19. Then wait for new bind10 stderr message XFRIN_TRANSFER_SUCCESS not XFRIN_XFR_PROCESS_FAILURE
  20. A query for www.example.org should have rcode NOERROR
  21. # The transferred zone should have 11 non-NSEC3 RRs and 1 NSEC3 RR.
  22. # The following check will get these by AXFR, so the total # of RRs
  23. # should be 13, counting the duplicated SOA.
  24. # At this point we can confirm both in and out of AXFR for a zone
  25. # containing an NSEC3 RR.
  26. When I do an AXFR transfer of example.org from ::1 47807
  27. Then transfer result should have 13 rrs