Hey403 No Rich is a lightweight, dependency-minimal Python library for testing DNS accessibility. Stripped of CLI fluff and rich
formatting, it’s built as a core module for developers to integrate into their own applications. Diagnose domain issues programmatically with ease.
- ⚡ Fast & Lean: No UI overhead—just pure DNS testing logic.
- 🌐 Global DNS: Leverage 15+ DNS providers for comprehensive checks.
- 🔧 Embeddable: Perfect for embedding in scripts, tools, or larger systems.
- 📏 Minimal Footprint: Fewer dependencies, more flexibility.
Feature | Description |
---|---|
🌍 15+ DNS | Test with top global DNS providers. |
⚡ Parallel Tests | Concurrent DNS resolution for speed. |
🔍 Error Detection | Catch 403s, blocks, and timeouts. |
🔧 DNS Control | Manage system DNS programmatically. |
📦 No Rich | No rich dependency—raw, simple output. |
- Install it:
pip install hey403-no-rich
- Use it in your code:
from hey403_no_rich import DNSResolver resolver = DNSResolver() results = resolver.test_dns("example.com") print(results)
from hey403_no_rich import DNSResolver
resolver = DNSResolver()
results = resolver.test_dns("example.com", dns_list=["8.8.8.8", "1.1.1.1"])
for dns, status, time in results:
print(f"DNS: {dns}, Status: {status}, Time: {time}")
from hey403_no_rich import DNSManager
manager = DNSManager()
manager.set_dns("8.8.8.8", alternative="8.8.4.4")
from hey403_no_rich import DNSManager
manager = DNSManager()
current = manager.get_current_dns()
print(f"Current DNS: {current}")
Want to make it better? Jump in!
- Fork it 🍴
- Set up your env:
git clone https://github.com/Diramid/hey403-no-rich.git cd hey403-no-rich pip install -e .[dev]
- Test it:
pytest tests/ -v
- Push & PR:
git checkout -b feature/awesome git commit -m "Add awesome feature" git push origin feature/awesome
- Open a PR on GitHub
See Contributing Guide for details.
Open-source under the MIT License. Use it, tweak it, integrate it—legally!
Note 📢
Built for developers, by developers. Use responsibly and respect local laws.