DNS QA Automation

Run DNS test scenarios using the Crank BDD framework.

DNS Logo

Installing this Cog

Once you've successfully installed Crank you can install this Cog by running the following:

$ crank cog:install automatoninc/dns

That's it! No further installation steps.

DNS Test Steps

Check that a domain's SPF record includes a specific host Assertion

Use this step in a Scenario file like this:

- step: Then the spf record for {{domain}} should include {{host}}
Expected Step Input
IDTypeDescription
domain *StringDomain name
host *StringHost name

Check the validity of a domain's SPF record Assertion

Use this step in a Scenario file like this:

- step: Then the spf record for {{domain}} should be valid
Expected Step Input
IDTypeDescription
domain *StringDomain name

Missing a Step You Need?

This Cog is open source! Your contributions are welcome and encouraged.

Contribute on GitHubJoin the Crank Spectrum Community