(See also Using plug-ins in Simple DNS Plus / List of Simple DNS Plus plug-ins)

DHCP Server plug-in

This plug-in is a DHCP server which provides IPv4 addresses and settings to local computers and devices. The DHCP data is also used to serve DNS requests (forward and reverse) making it very simple to locate any local DHCP client by name on a local network.

On the "Plug-In Settings" tab, enter the DHCP settings to be used (explained below):

  • Server IP
    Select which local IP address you want to serve DHCP on.
  • Subnet mask
    Shows the IP subnet mask for the selected server IP address.
    This subnet mask will automatically be provided to DHCP clients.
  • DNS suffix
    The DNS suffix domain name assigned the DHCP clients.
    (Client's full domain name in DNS will be <machine name>.<DNS suffix>)
  • Assign IP addresses to clients with no reservation
    Specify the range of IP addresses (a.k.a. "DHCP scope") to dynamically assign IP addresses to DHCP clients from.
  • DHCP Options...
    Click this button to configure default DHCP options (see below).
  • Reservations...
    Click this button to configure DHCP reservations (see below).
  • Update host records (A) in local forward zones
    When checked, Simple DNS Plus will create/update an A-record for each new/updated DHCP lease.
    Requires a local forward primary zone for the DNS suffix or a parent name.
    This is only needed if you have multiple DNS servers hosting the DNS suffix and you want A-records for the DHCP leases automatically transferred to secondary DNS servers.
  • Update reverse records (PTR) in local reverse zones
    When checked, Simple DNS Plus will create/update a PTR-record for each new/updated DHCP lease.
    Requires a local reverse primary zone for the IP addresses assigned by the DHCP service.
    This is only needed if you have multiple DNS servers hosting reverse DNS for the IP address range and you want PTR-records for the DHCP leases automatically transferred to secondary DNS servers.

DHCP Options dialog

The DHCP Options dialog can be accessed in 3 ways - from the main DHCP Plug-in dialog (see above) for setting the default options or from the DHCP Lease dialog (see) - either as options for a single lease or as options for a group of leases.

  • Lease Period tab
    Specify how long DHCP clients are allowed to use their assigned IP address.
    This is the maximum time the client computer may use the IP address without getting the lease renewed.
    Typically after half the lease period has elapsed, the client computer will attempt to renew the lease.

  • IP routing tab
    Specify the default gateway IP address (typically your Internet router) and/or static routing table entries to assign to DHCP clients:

  • DNS servers tab
    Specify the DNS servers to assign to DHCP clients:

  • TFTP / Boot file tab
    These options are typically used in combination with a TFTP server to enable PXE / disk less booting of PCs, provisioning IP phones, etc.
    An example of this is provided in KB1304 - How to serve a network based Debian Linux installation with Simple DNS Plus.

DHCP Reservations dialog (list of reservations)

Reserve IP addresses for specific clients based on computer/device name or hardware address (network card MAC address).
To determine a computers hardware address on Windows NT4/2000 and later, run "IPCONFIG /ALL" from a command prompt, and see "Physical Address".

DHCP Reservation dialog (individual reservation)

For each reservation, you can specify an alternate set of options - either for the individual reservation or for a group of reservations.
For MAC based reservations, you can optionally specify a host name that will be assigned to the client (through the DHCP response and in local DNS data).


The DHCP Server plug-in also has a "view" in the main Simple DNS Plus window (open from View menu), where you can see current and optionally expired DHCP leases:

The list can be sorted by clicking the column headers.

To manually delete a DHCP lease, right click on the lease and select "Delete" from the pop-up menu. In order to prevent IP-address conflicts (two or more computers having the same address), it is important that the computer for the deleted lease is also rebooted or removed from the network.
Generally, it is not necessary to delete leases manually, as computers automatically release their leases when shut down properly.

Older Apple/Mac clients and some devices which do not supply a computer name in the DHCP request will show with their hardware address as the name.
To rename these, right click on the lease and select "Rename". The new name will be associated with the client's hardware address (MAC), and remembered as long as you run Simple DNS Plus even if the IP address changes.

To configure a Windows computer to get its IP address from a DHCP server, configure it to "Obtain an IP address automatically" in TCP/IP protocol settings (under network properties).

If your server computer is connected to multiple local networks, you can use multiple DHCP server plug-in instances.

NOTE: When multiple DHCP leases are active for the same client name, DNS will resolve to the IP address of the DHCP lease that expires last (newest). This ensures that DNS resolves correctly for laptops and other devices moving between wired and wireless connections.

Available for Simple DNS Plus versions:

  • v. 5.2-7.0
  • v. 5.1
  • v. 5.0
11 Nov 2015 20:36 UTC
Eric Hexter
Is this plugin open source? i did not see it with the rest of the github plugin samples.
JH Software
12 Nov 2015 07:50 UTC
JH Software
Sorry no.
This particular plug-in is not open source, and we are not planning on making it so.
(Most other plug-ins will eventually be released as open source)
11 Jan 2016 15:57 UTC
Inductive Soul
When will there be a DHCP for IPv6? since this is not open source, I just have to ask and hope that JH Software releases one for IPv6.
19 Feb 2017 06:03 UTC
Travis Clark
Been a year and no response.
JH Software
20 Feb 2017 20:46 UTC
JH Software
Hi Travis.
Unfortunately DHCP for IPv4 and IPv6 are very different. It is NOT just a matter of changing the byte size of IP addresses. It is a completely different protocol.
We may develop an IPv6 DHCP plug-in at some point (depending on the interest we see in this), but we have no specific time frame at this time.
14 Mar 2018 23:48 UTC
Chuck Liem
Jesper, does your Dhcp plugin provide an Api? In particular, the ability to manage reservations?
JH Software
4 Apr 2018 14:38 UTC
JH Software
It is possible to update plug-in configurations (including DHCP) through the HTTP API "getpluginconfig" and "updatepluginconfig" commands.
For more on this, please see https://simpledns.com/help/how-to-use-the-http-api
Note that the plug-in configuration data format is not documented, but should be fairly obvious if you look at the "getpluginconfig" response.
(Never published. Used for replies and to show your Gravatar icon. Never used for any other purpose.)