.. meta:: :description: Defining options on Microsoft DHCP servers in Micetro :keywords: DHCP, DHCP servers, DHCP Windows .. _admin-dhcp-windows: Microsoft DHCP =============== .. _dhcp-windows-define-options: Defining Options on MS DHCP Servers ------------------------------------- 1. On the **Admin** page, select :guilabel:`Service Management` in the upper-left corner. 2. Under **DHCP Services** in the filtering sidebar, select the applicable Microsoft DHCP server. 3. Select either :guilabel:`Manage DHCPv4 options` or :guilabel:`Manage DHCPv6 options` on the :guilabel:`Action` or the Row :guilabel:`...` menu. 4. The Manage DHCP Options dialog box opens, showing all options defined on the DHCP server. 5. Use the drop-down menu to select the option you want to define. .. image:: ../../images/dhcpv6-options-10.5.png :width: 65% 6. To delete an option, hover over its field, and then click the trash can icon next to it. 7. Click :guilabel:`Save` to save the updated options. Defining Custom DHCP Options ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1. Select the :guilabel:`Custom Options` tab. 2. Select the appropriate :guilabel:`Vendor class` in the drop-down list. Adding a New Custom Option """""""""""""""""""""""""" 1. Click :guilabel:`Add Custom Option`. 2. Enter the desired ID. An error will appear if the ID is unavailable or invalid. 3. Enter a name. 4. Select a type in the drop-down list. If the option is an array, select the :guilabel:`Array` checkbox. 5. Click :guilabel:`Add` and then :guilabel:`Save` to complete the process. .. note:: Once an option has been defined, you can set its value on the :guilabel:`Edit Options` tab. Removing an Existing Custom Option """"""""""""""""""""""""""""""""""" 1. On the :guilabel:`Custom Options` tab in the Manage DHCP Options dialog box, select the relevant custom option. 2. On the Row :guilabel:`...` menu, select :guilabel:`Remove`, and then :guilabel:`Yes` to confirm. .. _ms-dhcp-dns-options: Configuring DNS Options ^^^^^^^^^^^^^^^^^^^^^^^^ On the :guilabel:`DNS` tab in the **Manage DHCP Options** dialog box you can access various settings related to DNS dynamic updates. These settings determine how the DHCP server interacts with the DNS server to update DNS records dynamically. * **Enable DNS dynamic updates according to the settings below**: Specifies whether the DHCP server sends DNS dynamic record updates to the DNS server. Updates are sent to DNS servers configured in TCP/IP client properties for any active network connections at the DHCP server. * **Dynamically update DNS A and PTR records**: Specifies that the DHCP server update forward and reverse lookups are based on the type of request made by the client during the lease process. * **Always dynamically update DNS A and PTR records**: Specifies that the DHCP server update forward and reverse DNS lookups when a client acquires a lease, regardless of the type of request used to acquire it. * **Discard A and PTR records when lease is deleted**: Specifies whether the DHCP server discards forward DNS lookups for clients when a lease expires. * **Dynamically update DNS A and PTR records for DHCP clients**: Specifies whether the DHCP server sends dynamic updates to the DNS server for DHCP clients that do not support performing these updates. If selected, clients running earlier versions of Windows are updated by the DHCP server for both their host (A) and pointer (PTR) resource records. * **Disable dynamic updates for DNS PTR record**: Turns off dynamic updates for PTR records. Editing Server Properties -------------------------- You can edit the configuration of Windows servers. 1. Select the relevant Windows server. 2. On the :guilabel:`Action` or the Row :guilabel:`...` menu, select :guilabel:`Edit configuration`. 3. In the **Edit Configuration** dialog box, make the desired changes, and then click :guilabel:`Save`. .. image:: ../../images/windows-dhcp-configuration.png :width: 60% * **Conflict detection attempts**: Specifies the number of conflict detection attempts you want the DHCP server to make before it leases an address to a client. * **Audit log file path**: Specifies the location of the DHCP server audit log files. * **Database path**: Specifies the location of the DHCP server database. * **Backup path**: Specifies the location for the database backup. Toggling DHCPv6 Management On and Off -------------------------------------- .. note:: There is only one DHCP service on a Microsoft DHCP server. Unlike Micetro, where DHCPv4 and DHCPv6 are separate, Microsoft combines them. Therefore, any action that requires either DHCPv6 or DHCPv4 to be restarted will cause the unified DHCP service on the Microsoft server to be restarted.. 1. On the **Admin** page, select the relevant Microsoft DHCP server. 2. On the :guilabel:`Action` menu or the Row :guilabel:`...`menu, select :guilabel:`Edit service`. 3. Select :guilabel:`Manage DHCPv6 service` to enable DHCPv6 management on the server(s) you selected. 4. Click :guilabel:`Confirm`. Reconciling Scopes -------------------- The :guilabel:`Reconcile DHCP Scopes` option is used to fix inconsistencies between information in the registry and the DHCP database. For more information about how to reconcile MS DHCP servers, see :ref:`reconcile-scopes`.