A simple .NET 8 command-line tool for querying WHOIS information for domains and IP addresses using the IANA WHOIS service.
- Queries WHOIS information for a given domain or IP address.
- Follows WHOIS referrals to retrieve complete registration details.
- Outputs raw WHOIS server responses to the console.
- Implements RFC 3912-compliant TCP requests.
- .NET 8 SDK
- C# 12.0
-
Clone the repository:
git clone https://github.com/cassie365/ccwhois.git -
Navigate to the project directory:
cd ccwhois -
Build the project:
dotnet build
Run the executable with a domain or IP address as an argument:
dotnet run "example.com"
Or, if built:
./ccwhois.exe "example.com"
Output:
The tool will print the WHOIS response and follow any referral servers as needed.
- If no argument is provided, the tool will print an error message and exit.