[Buildroot] [PATCH] busybox: Enable domain search list support in udhcpc

Alexey Brodkin alexey.brodkin at synopsys.com
Mon Apr 8 11:00:10 UTC 2019

This is useful in networks with internal resources as it allows
to use much shorter names.

E.g. instead of "server.internal.company.com" it's possible
to use just "server" if DHCP server is configured with:
option domain-search "internal.company.com";

This improvement consists of 2 parts:

1. Enable handling of RFC3397 so DHCP client is ready for processing
   corresponding data from DHCP server.

2. Some DHCP servers always send out search list if it is set in server's
   configuration and some servers only provide search list if client
   asks for that (sending list of options it expectes to get).

   And exactly for those stubborn DHCP servers we need to add "-O search"
   to udhcp's command line via CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS.

Signed-off-by: Alexey Brodkin <abrodkin at synopsys.com>
Cc: Ignacy Gawedzki <ignacy.gawedzki at green-communications.fr>
Cc: Peter Korsgaard <peter at korsgaard.com>
 package/busybox/busybox.config | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/busybox/busybox.config b/package/busybox/busybox.config
index 1d9560d655..ab04854c83 100644
--- a/package/busybox/busybox.config
+++ b/package/busybox/busybox.config
@@ -967,9 +967,9 @@ CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script"
-# CONFIG_FEATURE_UDHCP_RFC3397 is not set
 # Print Utilities

More information about the buildroot mailing list