Skip to content

Commit 317a44f

Browse files
committed
T6773: dhcp-server: ddns: Reflect recent configuration language changes
1 parent aef21ce commit 317a44f

File tree

1 file changed

+21
-11
lines changed

1 file changed

+21
-11
lines changed

docs/configuration/service/dhcp-server.rst

+21-11
Original file line numberDiff line numberDiff line change
@@ -186,28 +186,38 @@ server with RFC-2136 DDNS support.
186186
These settings can be configured on the global level and overridden on the scope
187187
level, i.e. for individual shared networks or subnets. See examples below.
188188

189-
.. cfgcmd:: set service dhcp-server dynamic-dns-update force-updates
189+
.. cfgcmd:: set service dhcp-server dynamic-dns-update send-updates [ enable
190+
| disable ]
190191
191-
If set on global level, updates for all scopes will be enabled, except if
192-
explicitly disabled on the scope level. If unset, updates will only be sent for
193-
scopes, where ``force-updates`` is explicity enabled.
192+
If set to ``enable`` on global level, updates for all scopes will be enabled,
193+
except if explicitly set to ``disable`` on the scope level. If set to ``disable``,
194+
updates will only be sent for scopes, where ``send-updates`` is explicity
195+
set to ``enable``.
194196

195-
.. cfgcmd:: set service dhcp-server dynamic-dns-update force-no-update
197+
This model is followed for a few behavioral settings below: if the option is
198+
not set, the setting is inherited from the parent scope. You can override the
199+
parent scope setting by setting the option explicitly.
196200

197-
VyOS will ignore client request to not update DNS records and send DDNS
201+
.. cfgcmd:: set service dhcp-server dynamic-dns-update force-update [ enable
202+
| disable ]
203+
204+
VyOS will ignore client request not to update DNS records and send DDNS
198205
update requests regardless.
199206

200-
.. cfgcmd:: set service dhcp-server dynamic-dns-update force-client-update
207+
.. cfgcmd:: set service dhcp-server dynamic-dns-update force-update-both [ enable
208+
| disable ]
201209
202210
VyOS will override client DDNS request settings and always update both
203211
forward and reverse DNS records.
204212

205-
.. cfgcmd:: set service dhcp-server dynamic-dns-update update-on-renew
213+
.. cfgcmd:: set service dhcp-server dynamic-dns-update update-on-renew [ enable
214+
| disable ]
206215
207216
Issue DDNS update requests on DHCP lease renew. In busy networks this may
208217
generate a lot of traffic.
209218

210-
.. cfgcmd:: set service dhcp-server dynamic-dns-update use-conflict-resolution
219+
.. cfgcmd:: set service dhcp-server dynamic-dns-update conflict-resolution [ enable
220+
| disable ]
211221
212222
Use RFC-4703 conflict resolution. This algorithm helps in situation when
213223
multiple clients reserve same IP addresses or advertise identical hostnames.
@@ -295,8 +305,8 @@ Global configuration you will most likely want:
295305

296306
.. code-block:: none
297307
298-
set service dhcp-server dynamic-dns-update force-updates
299-
set service dhcp-server dynamic-dns-update use-conflict-resolution
308+
set service dhcp-server dynamic-dns-update send-updates enable
309+
set service dhcp-server dynamic-dns-update conflict-resolution enable
300310
301311
Override the above configuration for a shared network NET1:
302312

0 commit comments

Comments
 (0)