|
@@ -122,3 +122,25 @@ Feature: Querying feature
|
|
|
"""
|
|
|
ns.sub.example.org. 3600 IN A 192.0.2.101
|
|
|
"""
|
|
|
+ Scenario: SSHFP query
|
|
|
+ Given I have bind10 running with configuration example.org.inmem.config
|
|
|
+ And wait for bind10 stderr message BIND10_STARTED_CC
|
|
|
+ And wait for bind10 stderr message CMDCTL_STARTED
|
|
|
+ And wait for bind10 stderr message AUTH_SERVER_STARTED
|
|
|
+
|
|
|
+ bind10 module Auth should be running
|
|
|
+ And bind10 module Resolver should not be running
|
|
|
+ And bind10 module Xfrout should not be running
|
|
|
+ And bind10 module Zonemgr should not be running
|
|
|
+ And bind10 module Xfrin should not be running
|
|
|
+ And bind10 module Stats should not be running
|
|
|
+ And bind10 module StatsHttpd should not be running
|
|
|
+
|
|
|
+ A query for example.org type SSHFP should have rcode NOERROR
|
|
|
+ The last query response should have ancount 0
|
|
|
+ A query for shell.example.org type SSHFP should have rcode NOERROR
|
|
|
+ The last query response should have ancount 1
|
|
|
+ The answer section of the last query response should be
|
|
|
+ """
|
|
|
+ shell.example.org. 3600 IN SSHFP 2 1 123456789abcdef67890123456789abcdef67890
|
|
|
+ """
|