summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Bukharov <alex@livewire.cc>2024-11-30 14:48:44 +1100
committerAlex Bukharov <alex@livewire.cc>2025-04-26 19:00:18 +1000
commit317a44f2748cdda76207dfec1b9cbfce25074f37 (patch)
tree84de8098bd9f1eba1bae8a00b526d6d1fc8e4877
parentaef21ce8942f2d47c6138a9b370b1c859216d5ab (diff)
downloadvyos-documentation-317a44f2748cdda76207dfec1b9cbfce25074f37.tar.gz
vyos-documentation-317a44f2748cdda76207dfec1b9cbfce25074f37.zip
T6773: dhcp-server: ddns: Reflect recent configuration language changes
-rw-r--r--docs/configuration/service/dhcp-server.rst32
1 files changed, 21 insertions, 11 deletions
diff --git a/docs/configuration/service/dhcp-server.rst b/docs/configuration/service/dhcp-server.rst
index 801eccb5..466a99bb 100644
--- a/docs/configuration/service/dhcp-server.rst
+++ b/docs/configuration/service/dhcp-server.rst
@@ -186,28 +186,38 @@ server with RFC-2136 DDNS support.
These settings can be configured on the global level and overridden on the scope
level, i.e. for individual shared networks or subnets. See examples below.
-.. cfgcmd:: set service dhcp-server dynamic-dns-update force-updates
+.. cfgcmd:: set service dhcp-server dynamic-dns-update send-updates [ enable
+ | disable ]
- If set on global level, updates for all scopes will be enabled, except if
- explicitly disabled on the scope level. If unset, updates will only be sent for
- scopes, where ``force-updates`` is explicity enabled.
+ If set to ``enable`` on global level, updates for all scopes will be enabled,
+ except if explicitly set to ``disable`` on the scope level. If set to ``disable``,
+ updates will only be sent for scopes, where ``send-updates`` is explicity
+ set to ``enable``.
-.. cfgcmd:: set service dhcp-server dynamic-dns-update force-no-update
+ This model is followed for a few behavioral settings below: if the option is
+ not set, the setting is inherited from the parent scope. You can override the
+ parent scope setting by setting the option explicitly.
- VyOS will ignore client request to not update DNS records and send DDNS
+.. cfgcmd:: set service dhcp-server dynamic-dns-update force-update [ enable
+ | disable ]
+
+ VyOS will ignore client request not to update DNS records and send DDNS
update requests regardless.
-.. cfgcmd:: set service dhcp-server dynamic-dns-update force-client-update
+.. cfgcmd:: set service dhcp-server dynamic-dns-update force-update-both [ enable
+ | disable ]
VyOS will override client DDNS request settings and always update both
forward and reverse DNS records.
-.. cfgcmd:: set service dhcp-server dynamic-dns-update update-on-renew
+.. cfgcmd:: set service dhcp-server dynamic-dns-update update-on-renew [ enable
+ | disable ]
Issue DDNS update requests on DHCP lease renew. In busy networks this may
generate a lot of traffic.
-.. cfgcmd:: set service dhcp-server dynamic-dns-update use-conflict-resolution
+.. cfgcmd:: set service dhcp-server dynamic-dns-update conflict-resolution [ enable
+ | disable ]
Use RFC-4703 conflict resolution. This algorithm helps in situation when
multiple clients reserve same IP addresses or advertise identical hostnames.
@@ -295,8 +305,8 @@ Global configuration you will most likely want:
.. code-block:: none
- set service dhcp-server dynamic-dns-update force-updates
- set service dhcp-server dynamic-dns-update use-conflict-resolution
+ set service dhcp-server dynamic-dns-update send-updates enable
+ set service dhcp-server dynamic-dns-update conflict-resolution enable
Override the above configuration for a shared network NET1: