mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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>
This commit is contained in:
parent
d17c403115
commit
489abccd5f
1 changed files with 6 additions and 1 deletions
|
@ -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)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue