Skip to main content

DNS explorer

dns_explorer is toolset for checking DNS.

Developed in python code.

The README is used to introduce the modules and provide instructions on how to install the modules, any machine dependencies it may have and any other information that should be provided before the modules are installed.

dns_explorer python checker dns_explorer package checker dns_explorer interface checker dns_explorer isp checker dns_explorer srp checker GitHub issues open GitHub contributors

Table of Contents

🚀 Installation

Used next development environment

debian linux os

dns_explorer python3 build

Currently there are three ways to install package

  • Install process based on using pip mechanism
  • Install process based on build mechanism
  • Install process based on setup.py mechanism
  • Install process based on docker mechanism
Install using pip

dns_explorer is located at pypi.org.

You can install by using pip

# python3
pip3 install dns_explorer
Install using build

Navigate to release page download and extract release archive.

To install dns_explorer type the following

tar xvzf dns_explorer-x.y.z.tar.gz
cd dns_explorer-x.y.z/
# python3
wget https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py 
python3 -m pip install --upgrade setuptools
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade build
pip3 install -r requirements.txt
python3 -m build --no-isolation --wheel
pip3 install ./dist/dns_explorer-*-py3-none-any.whl
rm -f get-pip.py
chmod 755 /usr/local/lib/python3.10/dist-packages/usr/local/bin/dns_explorer_run.py
ln -s /usr/local/lib/python3.10/dist-packages/usr/local/bin/dns_explorer_run.py /usr/local/bin/dns_explorer_run.py
Install using py setup

Navigate to release page download and extract release archive.

To install dns_explorer locate and run setup.py with arguments

tar xvzf dns_explorer-x.y.z.tar.gz
cd dns_explorer-x.y.z
# python3
pip3 install -r requirements.txt
python3 setup.py install_lib
python3 setup.py install_egg_info
Install using docker

You can use Dockerfile to create image/container.

📦 Dependencies

dns_explorer requires next modules and libraries

📁 Tool structure

dns_explorer is based on OOP.

Tool structure

Click to expand framework structure
    dns_explorer/
         ├── core/
         │   ├── __init__.py
         │   ├── model/
         │   │   ├── dns_record.py
         │   │   ├── __init__.py
         │   │   └── resolved_domain.py
         │   └── service/
         │       ├── engine.py
         │       ├── idns_resolver.py
         │       ├── __init__.py
         │       └── iservice.py
         ├── engine.py
         ├── infrastructure/
         │   ├── cli/
         │   │   ├── engine.py
         │   │   ├── icli.py
         │   │   ├── __init__.py
         │   │   └── setup/
         │   │       ├── bundle.py
         │   │       ├── dep_validator.py
         │   │       ├── dependencies.py
         │   │       ├── factory.py
         │   │       ├── __init__.py
         │   │       ├── keys.py
         │   │       ├── opt_validator.py
         │   │       ├── options.py
         │   │       ├── registry.py
         │   │       └── validator.py
         │   ├── command/
         │   │   ├── command.py
         │   │   ├── explore_command_definition.py
         │   │   ├── explore_command_executor.py
         │   │   ├── icommand_definition.py
         │   │   ├── icommand_executor.py
         │   │   ├── __init__.py
         │   │   ├── records_command_definition.py
         │   │   ├── records_command_executor.py
         │   │   ├── resolve_command_definition.py
         │   │   ├── resolve_command_executor.py
         │   │   ├── reverse_command_definition.py
         │   │   └── reverse_command_executor.py
         │   ├── config/
         │   │   ├── dns_explorer.cfg
         │   │   └── dns_explorer.logo
         │   ├── dns_resolver.py
         │   └── __init__.py
         ├── __init__.py
         ├── py.typed
         └── setup/
             ├── bundle.py
             ├── dep_validator.py
             ├── dependencies.py
             ├── factory.py
             ├── __init__.py
             ├── keys.py
             ├── opt_validator.py
             ├── options.py
             ├── registry.py
             └── validator.py

     10 directories, 50 files

📊 Code coverage

Click to expand code coverage
Name Stmts Miss Cover
dns_explorer/__init__.py 9 0 100%
dns_explorer/core/__init__.py 9 0 100%
dns_explorer/core/model/__init__.py 9 0 100%
dns_explorer/core/model/dns_record.py 14 0 100%
dns_explorer/core/model/resolved_domain.py 18 0 100%
dns_explorer/core/service/__init__.py 9 0 100%
dns_explorer/core/service/engine.py 73 0 100%
dns_explorer/core/service/idns_resolver.py 17 0 100%
dns_explorer/core/service/iservice.py 19 0 100%
dns_explorer/engine.py 57 0 100%
dns_explorer/infrastructure/__init__.py 9 0 100%
dns_explorer/infrastructure/cli/__init__.py 9 0 100%
dns_explorer/infrastructure/cli/engine.py 43 0 100%
dns_explorer/infrastructure/cli/icli.py 15 0 100%
dns_explorer/infrastructure/cli/setup/__init__.py 9 0 100%
dns_explorer/infrastructure/cli/setup/bundle.py 22 0 100%
dns_explorer/infrastructure/cli/setup/dep_validator.py 36 0 100%
dns_explorer/infrastructure/cli/setup/dependencies.py 18 0 100%
dns_explorer/infrastructure/cli/setup/factory.py 46 0 100%
dns_explorer/infrastructure/cli/setup/keys.py 28 0 100%
dns_explorer/infrastructure/cli/setup/opt_validator.py 34 0 100%
dns_explorer/infrastructure/cli/setup/options.py 17 0 100%
dns_explorer/infrastructure/cli/setup/registry.py 26 0 100%
dns_explorer/infrastructure/cli/setup/validator.py 43 0 100%
dns_explorer/infrastructure/command/__init__.py 9 0 100%
dns_explorer/infrastructure/command/command.py 16 0 100%
dns_explorer/infrastructure/command/explore_command_definition.py 24 0 100%
dns_explorer/infrastructure/command/explore_command_executor.py 50 0 100%
dns_explorer/infrastructure/command/icommand_definition.py 14 0 100%
dns_explorer/infrastructure/command/icommand_executor.py 14 0 100%
dns_explorer/infrastructure/command/records_command_definition.py 24 0 100%
dns_explorer/infrastructure/command/records_command_executor.py 47 0 100%
dns_explorer/infrastructure/command/resolve_command_definition.py 24 0 100%
dns_explorer/infrastructure/command/resolve_command_executor.py 51 0 100%
dns_explorer/infrastructure/command/reverse_command_definition.py 24 0 100%
dns_explorer/infrastructure/command/reverse_command_executor.py 46 0 100%
dns_explorer/infrastructure/dns_resolver.py 55 0 100%
dns_explorer/setup/__init__.py 9 0 100%
dns_explorer/setup/bundle.py 23 0 100%
dns_explorer/setup/dep_validator.py 36 0 100%
dns_explorer/setup/dependencies.py 19 0 100%
dns_explorer/setup/factory.py 60 0 100%
dns_explorer/setup/keys.py 27 0 100%
dns_explorer/setup/opt_validator.py 34 0 100%
dns_explorer/setup/options.py 12 0 100%
dns_explorer/setup/registry.py 32 0 100%
dns_explorer/setup/validator.py 48 0 100%
Total 1287 0 100%

🛠 Usage

Install package

pip3 install armpicom

Prepare main entry point by downloading main.py or create your own.

wget -O main.py https://raw.githubusercontent.com/vroncevic/armpicom/main/main.py

Running tool for DNS exploring

# Use case 1: Standard domain scan (no cluster variations, non-verbose)
echo "=== Running Use Case 1: Standard scan for google.com ==="
python3 main.py explore --domain google.com

# Use case 2: Scan with cluster variations (size 1)
echo "=== Running Use Case 2: Scan for google.com with cluster size 1 ==="
python3 main.py explore --domain google.com --cluster 1

# Use case 3: Scan with cluster size 2 and verbose logging enabled
echo "=== Running Use Case 3: Verbose scan for google.com with cluster size 2 ==="
python3 main.py explore --domain google.com --cluster 2 --verbose True

# Use case 4: Query domain DNS records (A, AAAA, MX, NS, TXT, SOA)
echo "=== Running Use Case 4: DNS Records query for google.com ==="
python3 main.py records --domain google.com

# Use case 5: Resolve forward IP and reverse hostnames for a single domain name
echo "=== Running Use Case 5: Resolve single domain google.com ==="
python3 main.py resolve --domain google.com --verbose True

# Use case 6: Query reverse DNS hostnames for an IP address
echo "=== Running Use Case 6: Query reverse DNS for IP 8.8.8.8 ==="
python3 main.py reverse --ip 8.8.8.8

📚 Docs

Documentation Status

More documentation and info at

👥 Contributing

Contributing to dns_explorer

📄 Copyright and licence

License: GPL v3 License

Copyright (C) 2024 - 2026 by vroncevic.github.io/dns_explorer

dns_explorer is free software; you can redistribute it and/or modify it under the same terms as Python itself, either Python version 3.x or, at your option, any later version of Python 3 you may have available.

Lets help and support PSF.

Python Software Foundation

Donate

Metadata

Release files for dns-explorer 1.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dns-explorer 1.0.7
File Size Uploaded
dns_explorer-1.0.7.tar.gz 38.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dns-explorer 1.0.7
File Interpreter ABI Platform
dns_explorer-1.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 120.3 kB

Release files / dns_explorer-1.0.7.tar.gz

Download URL dns_explorer-1.0.7.tar.gz
Size 38.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a9944d00391674b10b8e4a24f5fc7ed30829f30c2cbdc8c199f4624a8224be7e
BLAKE2b-256 checksum
How to use checksums
04bb08f48c5fbfb8a4d09c87230a75508667c6e5a9e3d47acb6365cc99abc307
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.0 CPython/3.12.3

Release files / dns_explorer-1.0.7-py3-none-any.whl

Download URL dns_explorer-1.0.7-py3-none-any.whl
Size 82.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
977f58c3c31e79f88e2ff5202bba783172091392d60e34c775d2c64e7d7b7d1f
BLAKE2b-256 checksum
How to use checksums
b2bb0ef92f638dd858cf4b85fdbe3342357e2789234207643bfc37081259ee22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.0.7 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page