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 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/
               ├── __init__.py
               └── models.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, 49 files

📊 Code coverage

Click to expand code coverage
Name Stmts Miss Cover
dns_explorer/__init__.py 8 0 100%
dns_explorer/core/__init__.py 9 0 100%
dns_explorer/core/model/__init__.py 9 0 100%
dns_explorer/core/model/models.py 19 0 100%
dns_explorer/core/service/__init__.py 9 0 100%
dns_explorer/core/service/engine.py 68 0 100%
dns_explorer/core/service/idns_resolver.py 17 0 100%
dns_explorer/core/service/iservice.py 18 0 100%
dns_explorer/engine.py 57 0 100%
dns_explorer/infrastructure/__init__.py 8 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 66 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 59 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 1276 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dns_explorer-1.0.6.tar.gz (38.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dns_explorer-1.0.6-py3-none-any.whl (80.8 kB view details)

Uploaded Python 3

File details

Details for the file dns_explorer-1.0.6.tar.gz.

File metadata

  • Download URL: dns_explorer-1.0.6.tar.gz
  • Upload date:
  • Size: 38.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.0 CPython/3.12.3

File hashes

Hashes for dns_explorer-1.0.6.tar.gz
Algorithm Hash digest
SHA256 ec4e2e2914e958d5767df4e3b0f7b5f2a71509722e16044d1bd9f86ba881a575
MD5 221ff91b69811b0d75c26d17456fe5bb
BLAKE2b-256 8458e1d6a0ab3f25540a4705d4ff954150b9484ec9eff055f8e1ba0ee5e239db

See more details on using hashes here.

File details

Details for the file dns_explorer-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: dns_explorer-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 80.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.0 CPython/3.12.3

File hashes

Hashes for dns_explorer-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d78d798317fe0ca8ef63fe8fce2b5d94f8197234cf078c50d565b38982ffaf91
MD5 c7a89d697b30e9c9690e8db3c2e52b60
BLAKE2b-256 6024e96906b5e760bc0088dab03500448a0a7c414c4b632ec1b19bd22b9e4154

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.6 This release

2 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