Note: This documentation is still in progress, not reviewed properly, and might contain some errors or outdated images. It's intended for the upcoming 4.0.0 release, so configuration settings might be different from previous versions.
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
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