https://github.com/rtfmkiesel/cleandns
A small command line utility to filter out non-resolvable domains
https://github.com/rtfmkiesel/cleandns
bug-bounty dns golang
Last synced: 10 months ago
JSON representation
A small command line utility to filter out non-resolvable domains
- Host: GitHub
- URL: https://github.com/rtfmkiesel/cleandns
- Owner: rtfmkiesel
- License: apache-2.0
- Created: 2025-06-12T15:11:56.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-12T15:12:20.000Z (about 1 year ago)
- Last Synced: 2025-08-09T21:51:51.665Z (11 months ago)
- Topics: bug-bounty, dns, golang
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cleandns
A small command line utility to filter out non-resolvable domains.
## Usage
```sh
cat domains_raw | cleandns > domains_clean
cleandns -f domains_raw > domains_clean
```
```
Usage of cleandns:
-d show debug output
-f string
/path/to/hosts (instead of stdin)
-r string
comma seperated list of DNS resolvers (default "9.9.9.9,8.8.8.8,1.1.1.1")
-t int
amount of workers to spawn (default 3)
```
## Install
If you have Go installed, run `go install github.com/rtfmkiesel/cleandns/cmd/cleandns@latest`.
## Build
```sh
# builds in the local directory
make
# builds and installs to /usr/local/bin/
make install
```