Advanced DNS Lookup Tool
Project description
DNS Lookup Tool
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dnsl-1.0.0.tar.gz.
File metadata
- Download URL: dnsl-1.0.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15216105c965c00d8618e8fbfc9c368f3a56af33e2adaae706a2db969260bb04
|
|
| MD5 |
81c869e42d01454fbf015b3e1e167fbd
|
|
| BLAKE2b-256 |
9bca663fa7f18ca0cae32e02f9a7f7c10eebe0a019451bcaf2a6d94658a6b63d
|
File details
Details for the file dnsl-1.0.0-py3-none-any.whl.
File metadata
- Download URL: dnsl-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
885015f6d5421ee0e13eb3f420ba48485c81282adcb2334446677de467cc5789
|
|
| MD5 |
0f6a04dd0f8d944751bee2f8b9d02fa6
|
|
| BLAKE2b-256 |
313b804578927cb65975249d4698ce86fe68a741446fd929ed6dffa89d4fe6d3
|