DomainMapper  by Ground-Zerro

CLI tool for resolving DNS names to IP addresses

created 1 year ago
639 stars

Top 52.9% on sourcepulse

GitHubView on GitHub
Project Summary

DomainMapper is a Python-based tool designed to resolve popular web service domain names into IP addresses. It's targeted at network administrators and users who need to map services like Netflix, Google, or Discord to their corresponding IP ranges for network management, firewall configuration, or custom routing. The tool offers flexible output formats and robust IP aggregation capabilities.

How It Works

DomainMapper queries multiple DNS servers for each domain, ensuring comprehensive IP address discovery rather than stopping at the first response. It intelligently filters out duplicate IPs, self-referential IPs, and common placeholders like 0.0.0.0. The tool supports aggregating discovered IP addresses into common subnet masks such as /24 and /16, with an option for a combined /24 + /32 mode, facilitating efficient network rule creation.

Quick Start & Requirements

  • Install dependencies: pip install -r requirements.txt
  • Run script: python main.py
  • Requires Python 3.x.
  • Supports Ubuntu 20.04, macOS Sonoma, Windows 10/11.
  • Docker deployment available via a provided script.

Highlighted Details

  • Supports numerous popular services including OpenAI, Netflix, Google, Twitch, Discord, and more.
  • Offers eight distinct output formats, including Mikrotik, Keenetic CLI, and Wireguard.
  • Features optional Cloudflare IP filtering.
  • Allows loading service lists and DNS servers from local files or network URLs.
  • Includes utilities for subdomain discovery and route conversion.

Maintenance & Community

The project actively incorporates user requests and contributions, as indicated by numerous "Запрос @" mentions in the changelog. Community interaction appears to be primarily through GitHub issues and discussions.

Licensing & Compatibility

The repository does not explicitly state a license. However, the inclusion of user-contributed IP lists is cautioned against, suggesting a focus on self-generated or verified data. Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

The lack of a declared open-source license may pose compatibility issues for commercial or closed-source projects. The README emphasizes caution regarding the use of third-party IP lists, implying potential security or reliability concerns with unverified data.

Health Check
Last commit

1 month ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
74 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.