From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Fri, 30 Aug 2019 22:32:38 +0200 Subject: [Buildroot] [PATCH] busybox: Enable domain search list support in udhcpc In-Reply-To: <20190803154900.GA26072@scaer> (Yann E. MORIN's message of "Sat, 3 Aug 2019 17:49:00 +0200") References: <20190408110010.2596-1-abrodkin@synopsys.com> <20190803154900.GA26072@scaer> Message-ID: <87v9uegzrt.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Yann" == Yann E MORIN writes: > On 2019-04-08 14:00 +0300, Alexey Brodkin spake thusly: >> 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: ----------------------------> 8----------------------- >> option domain-search "internal.company.com"; ----------------------------> 8----------------------- >> >> 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 >> Cc: Ignacy Gawedzki >> Cc: Peter Korsgaard Committed to 2019.02.x and 2019.05.x, thanks. -- Bye, Peter Korsgaard