dnsx Action makes it easy to orchestrate dnsx with GitHub Action.
Example Usage
GitHub Action running dnsx
on list of hosts
- name: 💥 dnsx - DNS Resolver uses: projectdiscovery/[email protected] with: list: hosts.txt
GitHub Action running dnsx
with custom resolvers
- name: 💥 dnsx - DNS Resolver uses: projectdiscovery/[email protected] with: list: hosts.txt resolver: resolver.txt
Example workflow: .github/workflows/dnsx.yml
name: 💥 dnsx - DNS Resolver on: schedule: - cron: '0 0 * * *' workflow_dispatch: jobs: dnsx-scan: runs-on: ubuntu-latest steps: - uses: actions/[email protected] - uses: actions/[email protected] with: go-version: 1.17 - name: 💥 dnsx - DNS Resolver uses: projectdiscovery/[email protected] with: list: hosts.txt - name: GitHub Workflow artifacts uses: actions/[email protected] with: name: dnsx.log path: dnsx.log
Available Inputs
Key | Description | Required |
---|---|---|
list |
List of hosts to perform DNS resolution | true |
output |
File to save output result (default - dnsx.log) | false |
json |
Write results in JSON format | false |
resolver |
List of custom resolvers to use | false |
flags |
Additional dnsx CLI flags to use | false |