civodul pushed a commit to branch master
in repository guix.

commit 489abccd5fb029be7277602058c81487d4ca07ec
Author: Lilah Tascheter <[email protected]>
AuthorDate: Tue Jul 4 19:10:21 2023 -0500

    services: dhcp-client-service-type: Support DDNS.
    
    * gnu/services/networking.scm (dhcp-client-shepherd-service): Enable -I
      flag on dhclient.
    
    Co-authored-by: Ludovic Courtès <[email protected]>
---
 gnu/services/networking.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index f4aff2d979..99889e3072 100644
--- a/gnu/services/networking.scm
+++ b/gnu/services/networking.scm
@@ -353,7 +353,12 @@
 
                          (false-if-exception (delete-file #$pid-file))
                          (let ((pid (fork+exec-command
-                                     (cons* dhclient "-nw"
+                                     ;; By default dhclient uses a
+                                     ;; pre-standardization implementation of
+                                     ;; DDNS, which is incompatable with
+                                     ;; non-ISC DHCP servers; thus, pass '-I'.
+                                     ;; <https://kb.isc.org/docs/aa-01091>.
+                                     (cons* dhclient "-nw" "-I"
                                             "-pf" #$pid-file ifaces))))
                            (and (zero? (cdr (waitpid pid)))
                                 (read-pid-file #$pid-file)))))

Reply via email to