https://github.com/subfission/HostResolver
Resolve bulk host file list to IP addresses, ASN, and validate DNS.
https://github.com/subfission/HostResolver
asn dns network python troubleshooting
Last synced: about 1 year ago
JSON representation
Resolve bulk host file list to IP addresses, ASN, and validate DNS.
- Host: GitHub
- URL: https://github.com/subfission/HostResolver
- Owner: subfission
- License: apache-2.0
- Created: 2017-06-02T02:57:10.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-08-14T07:29:58.000Z (almost 2 years ago)
- Last Synced: 2025-04-08T23:15:05.157Z (about 1 year ago)
- Topics: asn, dns, network, python, troubleshooting
- Language: Python
- Homepage:
- Size: 301 KB
- Stars: 39
- Watchers: 5
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rainmana - subfission/HostResolver - Resolve bulk host file list to IP addresses, ASN, and validate DNS. (Python)
README
# HostResolver
Resolve hosts to IP addresses, scan for SPF records, and enumerate ASNs as quickly as possible; because time is of the essence.

## Requirements
* **Python 3.5+**
## Installation
First make sure you have python 3.4+ and the python package manger (pip).
python3 --version
which pip3
Download all the dependencies using the package manager:
pip3 install -r requirements.txt
**Thats it!**
Optionally, you can use virtual_env or other tools to manage your packages.
## Usage
**Single host lookup**
python3 resolv.py hostname
**Lookup list of hostnames from file**
python3 resolve.py hostnames_file.txt
**Advanced usage: Resolve ASNs, SPF, and DMARC records From List and Set Custom Thread Counts**
python3 resolv.py --threads 200 --asn --spf --dmarc hostname_list.txt
*More threads will allow a faster execution, with a tradeoff of system resources.*
## Future
- DKIM results
- Flags indicating DNS config issues
- SSL Ciphers per host