https://github.com/projectdiscovery/dnsx-action
Fast and multi-purpose DNS toolkit allow to run multiple DNS queries.
https://github.com/projectdiscovery/dnsx-action
Last synced: 6 months ago
JSON representation
Fast and multi-purpose DNS toolkit allow to run multiple DNS queries.
- Host: GitHub
- URL: https://github.com/projectdiscovery/dnsx-action
- Owner: projectdiscovery
- License: mit
- Created: 2021-06-24T19:59:51.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-04-18T12:33:45.000Z (about 4 years ago)
- Last Synced: 2025-12-17T04:27:39.046Z (7 months ago)
- Size: 9.77 KB
- Stars: 12
- Watchers: 5
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
dnsx Action makes it easy to orchestrate dnsx with GitHub Action.
Example Usage
-----
**GitHub Action running `dnsx` on list of hosts**
```yaml
- name: 💥 dnsx - DNS Resolver
uses: projectdiscovery/dnsx-action@main
with:
list: hosts.txt
```
**GitHub Action running `dnsx` with custom resolvers**
```yaml
- name: 💥 dnsx - DNS Resolver
uses: projectdiscovery/dnsx-action@main
with:
list: hosts.txt
resolver: resolver.txt
```
**Example workflow**: `.github/workflows/dnsx.yml`
```yaml
name: 💥 dnsx - DNS Resolver
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
dnsx-scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.17
- name: 💥 dnsx - DNS Resolver
uses: projectdiscovery/dnsx-action@main
with:
list: hosts.txt
- name: GitHub Workflow artifacts
uses: actions/upload-artifact@v2
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 |