Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 4 Current »

Overview


The IPAM CLI is a command-line tool for managing IP address assignments and performing reverse DNS operations.

Usage


Run the CLI using:

$> php /home/hostbill/public_html/admin/cli.php ipam rdns <operation> [options]

Available Operations (Required):

  • defaultptr – Set default PTR records

  • pullrdns – Synchronize reverse DNS records from the provider

  • pushrdns – 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


  1. Set default PTR records:

$> php /home/hostbill/public_html/admin/cli.php ipam rdns defaultptr --subnet_id=123
  1. Pull reverse DNS records:

$> php /home/hostbill/public_html/admin/cli.php ipam rdns pullrdns --ip_limit=50
  1. Push reverse DNS records:

$> php /home/hostbill/public_html/admin/cli.php ipam rdns pushrdns
  • No labels