--- Begin Message ---
Subject: |
[PATCH] services: dhcp-client-service-type: Support DDNS. |
Date: |
Tue, 4 Jul 2023 19:10:21 -0500 |
* gnu/services/networking.scm (dhcp-client-shepherd-service): Enable -I
flag on dhclient.
---
gnu/services/networking.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index 5657b141d9..0fbba1b8c7 100644
--- a/gnu/services/networking.scm
+++ b/gnu/services/networking.scm
@@ -350,7 +350,7 @@ (define ifaces
(false-if-exception (delete-file #$pid-file))
(let ((pid (fork+exec-command
- (cons* dhclient "-nw"
+ (cons* dhclient "-nw" "-I"
"-pf" #$pid-file ifaces))))
(and (zero? (cdr (waitpid pid)))
(read-pid-file #$pid-file)))))
base-commit: 9122736455a9085d51b71b269b7c26a695a474ef
--
2.40.1
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#64468] [PATCH] services: dhcp-client-service-type: Support DDNS. |
Date: |
Sat, 14 Oct 2023 19:45:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Lilah Tascheter <lilah@lunabee.space> skribis:
> Ludovic Courtès <ludo@gnu.org> wrote:
>> Could there be unintended side effects from passing "-I"?
>
> the isc-dhcp knowledgebase says that by default dhclient uses a
> pre-standardization implementation of DDNS, which is incompatable with non-isc
> DHCP servers. no idea why that's the default, but -I just switches to using
> the
> standardized protocol.
>
> kb link with more details: https://kb.isc.org/docs/aa-01091
Thanks for explaining. I added this explanation as a comment in the
code and committed.
Ludo’.
--- End Message ---