diff options
author | Thomas Jensen <thomas@uctrl.net> | 2022-01-25 19:50:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-25 19:50:29 +0100 |
commit | f5c0cc186774e2334fc1a8e41c2288d5ab3ebd12 (patch) | |
tree | 3718aee27ef905cd85244561b7c862b88b756c25 /docs/configuration/service | |
parent | b95bcf3a984f43aef7939c83e820a201c6f123f1 (diff) | |
download | vyos-documentation-f5c0cc186774e2334fc1a8e41c2288d5ab3ebd12.tar.gz vyos-documentation-f5c0cc186774e2334fc1a8e41c2288d5ab3ebd12.zip |
Update dhcp-server.rst
Add commands `hostfile-update` and `host-decl-name` to DHCP server service.
Diffstat (limited to 'docs/configuration/service')
-rw-r--r-- | docs/configuration/service/dhcp-server.rst | 10 |
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 |