Skip to content

Commit

Permalink
dhcp-server: sync branches
Browse files Browse the repository at this point in the history
  • Loading branch information
rebortg committed Jan 28, 2023
1 parent 0f2fab4 commit 26c30c3
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/configuration/service/dhcp-server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ address.
Configuration
=============

.. cfgcmd:: set service dhcp-server hostfile-update

Create DNS record per client lease, by adding clients to /etc/hosts file.
Entry will have format: `<shared-network-name>_<hostname>.<domain-name>`

.. cfgcmd:: set service dhcp-server host-decl-name

Will drop `<shared-network-name>_` from client DNS record, using only the
host declaration name and domain: `<hostname>.<domain-name>`

.. cfgcmd:: set service dhcp-server shared-network-name <name> domain-name <domain-name>

The domain-name parameter should be the domain name that will be appended to
Expand Down Expand Up @@ -447,7 +457,8 @@ Raw Parameters
Option 43 for UniFI
-------------------

* These parameters need to be part of the DHCP global options. They stay unchanged.
* These parameters need to be part of the DHCP global options.
They stay unchanged.


.. code-block:: none
Expand Down

0 comments on commit 26c30c3

Please sign in to comment.