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 <ludo@gnu.org>
parent
d17c403115
commit
489abccd5f
|
@ -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)))))
|
||||
|
|
Reference in New Issue