Overview
...
The IPAM CLI is a command-line tool for managing IP address assignments and performing reverse DNS operations.
Usage
...
Run the CLI using:
Code Block |
---|
$> php /home/hostbill/public_html/admin/cli.php ipam rdns <operation> [options] |
Available Operations (Required):
defaultptr
– Set default PTR recordspullrdns
– Synchronize reverse DNS records from the providerpushrdns
– Update reverse DNS records to the provider
Available Options (Optional):
--subnet_id=<id>
: Process a specific subnet ID.--ip_limit=<limit>
: Set a limit on the number of IPs processed.
Example Commands
...
Set default PTR records:
Code Block |
---|
$> php /home/hostbill/public_html/admin/cli.php ipam rdns defaultptr --subnet_id=123 |
Pull reverse DNS records:
Code Block |
---|
$> php /home/hostbill/public_html/admin/cli.php ipam rdns pullrdns --ip_limit=50 |
Push reverse DNS records:
Code Block |
---|
$> php /home/hostbill/public_html/admin/cli.php ipam rdns pushrdns |