summaryrefslogtreecommitdiff
path: root/docs/configuration
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2022-01-26 21:36:13 +0100
committerGitHub <noreply@github.com>2022-01-26 21:36:13 +0100
commitfc28523de527c22c081dd0e4cf4de23d0b80e194 (patch)
tree2ec41c48b1d24263d0d1e44b35ebcd508ff4a048 /docs/configuration
parent4785cb794890a8ea25b2c896a5afdd6e62f03f82 (diff)
parentf5c0cc186774e2334fc1a8e41c2288d5ab3ebd12 (diff)
downloadvyos-documentation-fc28523de527c22c081dd0e4cf4de23d0b80e194.tar.gz
vyos-documentation-fc28523de527c22c081dd0e4cf4de23d0b80e194.zip
Merge pull request #702 from thomasjsn/patch-1
Update dhcp-server.rst
Diffstat (limited to 'docs/configuration')
-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