DDPars is a concurrent DNS dump parser written in Go. It extracts domain names from DNS dump files within a specified folder and writes the results to an output file (domains.txt
). The parser processes files asynchronously using multiple threads for optimal performance.
- Asynchronous Processing: Utilizes 10 worker goroutines to process files concurrently for efficient parsing.
- Domain Filtering: Removes unwanted characters like
*
and_
from domain names:- Skips domains containing the
*
symbol entirely. - Removes all instances of
_
from domain names.
- Skips domains containing the
- Uniqueness: Writes unique domain names to the output file, avoiding duplicates.
- Flexible Input: Parses all DNS dump files within a specified folder.
- Go (version 1.21.0 or higher)
- Go module:
github.com/miekg/dns
go install github.com/Lercas/DDPars
OR
- Clone the repository:
git clone https://github.com/Lercas/DDPars.git
- Change directory to the project:
cd DDPars
- Install the required Go package:
go get github.com/miekg/dns
Run the tool using the following command:
DDpars folder/