summaryrefslogtreecommitdiff
path: root/docs/configuration/service
diff options
context:
space:
mode:
authorrebortg <github@ghlr.de>2023-01-28 21:59:17 +0100
committerrebortg <github@ghlr.de>2023-01-28 21:59:17 +0100
commit26c30c31522b118300e89ddba83f6ddb77b5d80b (patch)
treed241493b528cdff453659cfd429ee80803bc707b /docs/configuration/service
parent0f2fab49802539da0cda444523ce1bfea74f324a (diff)
downloadvyos-documentation-26c30c31522b118300e89ddba83f6ddb77b5d80b.tar.gz
vyos-documentation-26c30c31522b118300e89ddba83f6ddb77b5d80b.zip
dhcp-server: sync branches
Diffstat (limited to 'docs/configuration/service')
-rw-r--r--docs/configuration/service/dhcp-server.rst13
1 files changed, 12 insertions, 1 deletions
diff --git a/docs/configuration/service/dhcp-server.rst b/docs/configuration/service/dhcp-server.rst
index f55c7a45..4ddb6d69 100644
--- a/docs/configuration/service/dhcp-server.rst
+++ b/docs/configuration/service/dhcp-server.rst
@@ -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
@@ -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