Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 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:

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

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

Code Block
$> php /home/hostbill/public_html/admin/cli.php ipam rdns pushrdns