DDPars

command module
v0.0.0-...-e738235 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

README

DDPars

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.

Features

  • 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.
  • Uniqueness: Writes unique domain names to the output file, avoiding duplicates.
  • Flexible Input: Parses all DNS dump files within a specified folder.

Installation

Prerequisites
  • Go (version 1.21.0 or higher)
  • Go module: github.com/miekg/dns
Step-by-Step Installation
go install github.com/Lercas/DDPars

OR

  1. Clone the repository:
    git clone https://github.com/Lercas/DDPars.git
    
  2. Change directory to the project:
    cd DDPars
    
  3. Install the required Go package:
    go get github.com/miekg/dns
    

Usage

Run the tool using the following command:

DDpars folder/

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL