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

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

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
```