# Analyzing Lease and Lease History There are two types of leases available in DDI Central: DHCP or dynamic leases and Static leases. ## DHCP Leases To access these DHCP lease records: - Navigate to the **DHCP** module. Select the **Lease** menu from the left inner menu bar. ![DHCP Lease Dashboard](https://cdn.manageengine.com/sites/meweb/images/dns-dhcp-ipam/dhcp-lease-dashboard_11zon.png) > **Note:** You can also associate specific hosts to any available IP addresses in the **Lease** section by clicking on the **Associate Hosts** icon next to the **Info** and **Delete** icons. ![Associate Host](https://cdn.manageengine.com/sites/meweb/images/dns-dhcp-ipam/dhcp-lease-associate-host.png) - The **Lease** page appears with the **DHCP leases** tab selected, displaying: - A visual snapshot of the lease volume for that subnet along a particular timeline - The list of IP addresses leased by the DHCP server from a specific subnet at that period of time - The total lease duration - The current availability state of the IP - The MAC address and manufacturer details of the host device associated with the IP during the lease period - The type of connection - You can select the relevant subnet from the dropdown in the top right corner to view the leases within the selected subnet and adjust the timeline using the drop-down calendar to visualize and list the leases from a specific point in time. - Click on the red **Delete** icon at the extreme right end to delete leases from both the DHCP lease file and the DDI Central database. The same lease will not be reassigned to that particular user; instead, the user will receive a random DHCP lease from the relevant subnet. - A green **Info** button is also available at the extreme right end. Clicking on it opens a popup window displaying comprehensive lease details. ![DHCP Lease Info](https://cdn.manageengine.com/sites/meweb/images/dns-dhcp-ipam/dhcp-lease-info.png) - **DDNS Client FQDN:** Displays the DDNS Client FQDN associated with the lease along with the forward and reverse mappings (PTR record). - **Subnet information:** Displays the subnet's network address, subnet prefix length, and a visualization of subnet usage. - **DHCP options:** Displays assigned DHCP or custom options and their values. - **Address pool information:** Shows the IP allocation range for the lease. By using the **green info button**, admins can **quickly assess DHCP configurations, IP allocations, and subnet usage**, improving overall network visibility and management efficiency. ### Special Note: IPv6 Lease Metadata in DDI Central When managing **DHCPv6 leases** in DDI Central, a special case applies when you click **“More Info”** (on the far right of a specific lease entry). For IPv6 leases, DDI Central displays **additional protocol-specific metadata**, including: - **DUID (DHCP Unique Identifier):** A globally unique identifier assigned to the client device. - **IAID (Identity Association Identifier):** Used to differentiate multiple interfaces or address requests by the same device. This metadata is shown alongside standard lease details such as: - Assigned IP address - Subnet name and prefix - IP usage statistics - DHCP options and custom options This view helps admins **correlate IPv6 clients more accurately**, especially in multi-interface or stateful DHCPv6 environments. This feature is visible only for IPv6 leases and aids in debugging, compliance tracking, and lease-level analytics. ![IPv6 Lease Metadata](https://cdn.manageengine.com/sites/meweb/images/dns-dhcp-ipam/linux_dhcp_lease.png) > **Note:** You can also export these lease records and download them as a CSV file for future reference. ## Static Leases Static leases, also known as fixed or reserved IP addresses, refer to the assignment of a specific IP address to a device within a network that does not expire or renew. This practice is particularly useful for devices that are permanent fixtures of the network and require consistent addressing for reliable operation and easy access. For instance, servers often have static IPs due to their critical role in network functionality, whereas client devices like smartphones can operate effectively with dynamic IPs. Static leases are meant for essential corporate devices like routers, printers, and security cameras. Static leases are often managed or maintained in a spreadsheet. DDI Central enables administrators to import, centralize, and simplify the management of static leases along with dynamic leases. Admins can create new static subnets for a DHCP server directly from the DDI Central UI and import active static subnet leases managed in a spreadsheet. Static leases can be imported in two ways: - By clicking the **Import** button available in the **DHCP->Network->Static Subnet** page - By clicking the **Import** button available in the **IPAM->Lease->Static Leases** page Here are sample files for reference: - [Static Subnet](https://www.manageengine.com/sites/meweb/images/dns-dhcp-ipam/static_subnet.xlsx) - [Static Lease](https://www.manageengine.com/sites/meweb/images/dns-dhcp-ipam/sample_staticlease.xlsx) ### Importing static subnet leases without defining a static subnet DDI Central enables you to directly import static leases without creating and defining the IP address space for your static subnet. To import static leases without a defined static subnet: - Select **IPAM->Lease**. - On the **Lease** page, navigate to the **Static Leases** tab. - Click the **Import** button. ![Import Static Lease](https://cdn.manageengine.com/sites/meweb/images/dns-dhcp-ipam/dhcp_lease_4_11zon.png) > **Note:** When importing static leases without a predefined static subnet, ensure that the first column of the spreadsheet corresponds to the network address of the static subnet. Subsequent columns can be in any order and will be imported as respective fields. Supported formats: .xlsx, .csv, .xls. ### Importing static subnet leases along with a static subnet When importing static leases with a static subnet already defined under the **DHCP->Network** page, the columns (including the network address) can be in any order. DDI Central imports the columns as respective fields and displays the data under corresponding fields on the **Static Leases** page. Ensure that: - Updates adhere to the column order defined in the spreadsheet. - All spreadsheets used for importing static leases maintain the same column order as the file used during the initial import. - The field configuration for static leases is cluster-specific. Once static leases are imported, you can: - Click **Add** → **Custom field** to append a custom field. - Click **Add** → **Static Lease** to manually create a new static lease. All previously defined fields will appear as form fields. Enter values and click **Save**. - Edit column labels directly from the UI by hovering over them and clicking the edit icon. ![Static Lease New](https://cdn.manageengine.com/sites/meweb/images/dns-dhcp-ipam/static-lease-new.png) If you need to export static leases for analysis or reporting, click the gray spreadsheet icon near the subnet dropdown in the top right corner to download a CSV file. DDI Central automatically pings all IPs under a static subnet to determine their status. It displays: - Green **UP** status for reachable (actively leased) IPs - Red **Down** status for unreachable IPs This prevents unused or conflicting allocations with DHCP-provisioned subnets and ensures precise accountability, minimized IP conflicts, and enhanced network efficiency through live status updates. ## Analyzing the DHCP Lease History Click on an IP address to view the lease history for that address. ![Lease History Dashboard](https://cdn.manageengine.com/sites/meweb/images/dns-dhcp-ipam/lease-history-dashboard_11zon.png) The **History** page for the IP address displays the following sections: ## DNS Relations The DNS Relations section lists domain name records previously leased with the selected IP address. It includes: - Record type - Fully Qualified Domain Name (FQDN) - Root domain of the record ### History The History section provides a comprehensive audit trail detailing: - Host MAC address - Manufacturer of the host device - Lease duration - Type of connection - Availability state of the IP throughout the lease period ### DNS Queries The DNS Queries section helps quantify and visualize the query volume handled by the IP during its association with various FQDNs. - The left section lists a historical overview of the total query volume to each specific FQDN. - The right section visualizes hourly query volume using line graphs across a custom time frame. To analyze hourly readings accurately, select a custom time frame from the dropdown calendar in the same section. > **Note:** The DHCP lease history for IPv6 addresses can also be viewed in this dashboard by clicking the DHCPv6 toggle button. ### Endpoint Integration ![DHCP Lease Endpoint](https://cdn.manageengine.com/sites/meweb/images/dns-dhcp-ipam/dhcp-lease-endpoint_11zon_1_11zon.png) After setting up Endpoint Central integration, go to **IPAM->DHCP Lease** page. A **Monitor** icon appears in the DHCP lease data table alongside the **Delete** and **Additional Info** icons. This indicates that the device to which the IP was leased has data fetched from Endpoint Central. > **Note:** The highlighted icon appears only for devices whose data is fetched from Endpoint Central. If endpoint integration is disabled, the icon will stop appearing. If required again, the integration must be configured from scratch.