Skip to main content

DNS Lookup Tool

Python License

Overview

DNS Lookup Tool is an advanced command-line utility for querying various DNS records, performing DNS-over-HTTPS (DoH) lookups, and attempting zone transfers (AXFR). It is designed for security professionals, network engineers, and penetration testers.

Features

  • Query different DNS record types (A, AAAA, CNAME, MX, NS, TXT, SOA, PTR)
  • Perform DNS-over-HTTPS (DoH) queries
  • Attempt DNS zone transfers (AXFR)
  • Support for custom DNS servers
  • Fast and detailed output with response times

Installation

You can install the tool using pip:

pip install dnsl

Or, install from source:

git clone https://github.com/hemaabokila/dns_lookup.git
cd dns_lookup
pip install .

Usage

After installation, you can use the tool from the command line:

dnsl -d example.com

Available Options

usage: dnsl [-h] -d DOMAIN [DOMAIN ...] [-t TYPE] [-s SERVER] [--axfr] [--doh]

Advanced DNS Lookup Tool

optional arguments:
  -h, --help            Show this help message and exit
  -d, --domain DOMAIN   Domain(s) to query (Required)
  -t, --type TYPE       DNS record type (A, AAAA, MX, TXT, etc.)
  -s, --server SERVER   Custom DNS server (e.g., 8.8.8.8)
  --axfr                Attempt Zone Transfer (AXFR)
  --doh                 Use DNS-over-HTTPS (DoH)

Examples

Query all DNS records for a domain:

dnsl -d example.com

Query a specific DNS record type:

dnsl -d example.com -t MX

Use a custom DNS server:

dnsl -d example.com -s 8.8.8.8

Perform a DNS-over-HTTPS (DoH) lookup:

dnsl -d example.com --doh

Attempt a zone transfer:

dnsl -d example.com --axfr -s ns1.example.com

License

This project is licensed under the MIT License.

Author

Developed by Ibrahem abo kila

Release files for scdns 1.0.0

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

Source distribution (sdist)

Source distribution for scdns 1.0.0
File Size Uploaded
scdns-1.0.0.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for scdns 1.0.0
File Interpreter ABI Platform
scdns-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.9 kB

Release files / scdns-1.0.0.tar.gz

Download URL scdns-1.0.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0409133126ece3d9c10f3a4315e5880dfe018bbefd0e680f286676e94f694dea
BLAKE2b-256 checksum
How to use checksums
ad2b85a30d764a7b772f3e734835033e9c8c0a80220cc66518a7175ec7a2c8e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.

Transparency log

Release files / scdns-1.0.0-py3-none-any.whl

Download URL scdns-1.0.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e3bddc09058319caa09d727a1b560d520674ea592795b5bb658e5f99625e291
BLAKE2b-256 checksum
How to use checksums
24dc1027e5b7da6b04c73738269a10f95fa60fc7e9cc9427485fa74603a26428
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.0 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