DNS Lookup CLI tool implemented in Go
go install github.com/adegoodyer/dnslookup/cmd/dnslookup@latestUsage: dnslookup <domain|IP>
Description:
This application performs DNS and reverse DNS lookups.
You can provide either a domain name or an IP address.
If a domain is provided, it will perform the following lookups:
- A (IPv4) records
- AAAA (IPv6) records
- CNAME (Canonical Name) records
- MX (Mail Exchange) records
- NS (Name Server) records
- TXT (Text) records
- SOA (Start of Authority) record
- WHOIS information for the domain
If an IP address is provided, it will perform reverse DNS lookup and display associated hostnames.
Example Usage:
dnslookup example.com
dnslookup 8.8.8.8latest: Most recent stable buildx.y.z: Specific version builds (e.g.,2.7.5)x.y: Minor version builds (e.g.,2.7)
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.