This documentation covers Poweradmin 4.x. Some sections are still being expanded.
WHOIS Configuration
Overview
Poweradmin includes WHOIS lookup functionality that allows administrators to query domain registration information directly from the interface. This feature helps with domain management and verification tasks.
Configuration Options
WHOIS settings can be configured in the config/settings.php file under the whois section.
| Setting | Default | Description |
|---|---|---|
enabled |
false |
Enable WHOIS lookup functionality |
default_server |
'' |
Optional default WHOIS server (empty to use server from WHOIS database) |
socket_timeout |
10 |
Socket timeout in seconds for WHOIS queries |
restrict_to_admin |
true |
Only allow administrators (user_is_ueberuser) to use WHOIS functionality |
Configuration Example
return [
'whois' => [
'enabled' => true,
'default_server' => 'whois.internic.net',
'socket_timeout' => 15,
'restrict_to_admin' => true,
],
];
Usage
When enabled, WHOIS lookups can be performed from:
- Zone management pages - Lookup domain registration information
- Domain search results - Quick WHOIS lookup for search results
- Administrative tools - Bulk domain verification
How to Use WHOIS Lookup
- Navigate to any zone in Poweradmin
- Click the WHOIS button or icon next to the domain name
- View the registration information returned by the WHOIS server
WHOIS Information Displayed
The WHOIS lookup returns information including:
- Registrar: The domain registrar
- Registration dates: Created, updated, expiration dates
- Name servers: Configured DNS servers
- Registrant info: Contact information (if not privacy-protected)
- Status: Domain status codes (e.g., clientTransferProhibited)
When to Use WHOIS vs RDAP
| Feature | WHOIS | RDAP |
|---|---|---|
| Protocol | Legacy text-based | Modern JSON/REST |
| Format | Unstructured text | Structured JSON |
| Internationalization | Limited | Full Unicode support |
| Use case | Quick lookups | Programmatic access |
For structured data and better internationalization support, consider using RDAP instead.
Supported TLDs
The WHOIS functionality supports lookups for:
- Generic TLDs (.com, .net, .org, etc.)
- Country code TLDs (.uk, .de, .jp, etc.)
- New gTLDs (.xyz, .tech, .app, etc.)
Security Considerations
- Admin restriction: By default, only users with administrator privileges can use WHOIS functionality
- Rate limiting: Consider implementing rate limiting for WHOIS queries to prevent abuse
- Timeout settings: Adjust socket timeout based on your network conditions
- Logging: WHOIS queries may be logged depending on your logging configuration
Performance Considerations
- WHOIS queries are network-dependent and may be slow
- Consider caching results for frequently queried domains
- Set appropriate timeout values to prevent interface blocking