summaryrefslogtreecommitdiff
path: root/docs/configuration/service/dhcp-server.rst
diff options
context:
space:
mode:
authorerkin <e.altunbas@vyos.io>2022-02-12 11:00:53 +0300
committererkin <e.altunbas@vyos.io>2022-02-12 11:00:53 +0300
commit6b1fccde2784a42b38936ceeea3477116aef40ad (patch)
tree037afd751932c0decb43b1d44f4be6cc5fe9d2b6 /docs/configuration/service/dhcp-server.rst
parent3354b60055b815117847042655b73270201f6b9b (diff)
parentba1fd831413373596dd1d608fade8c7c95114095 (diff)
downloadvyos-documentation-6b1fccde2784a42b38936ceeea3477116aef40ad.tar.gz
vyos-documentation-6b1fccde2784a42b38936ceeea3477116aef40ad.zip
Merge branch 'master' of https://github.com/vyos/vyos-documentation
Diffstat (limited to 'docs/configuration/service/dhcp-server.rst')
-rw-r--r--docs/configuration/service/dhcp-server.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/configuration/service/dhcp-server.rst b/docs/configuration/service/dhcp-server.rst
index 9d0e0855..357203fd 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