An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          


dnsx



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 |