dnslookup

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2025 License: MIT

README

dnslookup

Go Reference

DNS Lookup CLI tool implemented in Go

Install

go install github.com/adegoodyer/dnslookup@latest

Usage

Usage: 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.8

Tags

  • latest: Most recent stable build
  • x.y.z: Specific version builds (e.g., 2.7.5)
  • x.y: Minor version builds (e.g., 2.7)

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Directories

Path Synopsis
cmd
dnslookup command
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL