[PATCH V2]networking: Allow dot at the end of the domain name in dhcp response

Denys Vlasenko vda.linux at googlemail.com
Thu Feb 11 04:59:39 UTC 2016

On Tue, Feb 9, 2016 at 6:23 PM, Balaji Punnuru <balaji.punnuru at gmail.com> wrote:
> When a dhcp server responds with a domain name that ends with a ".",
> domain name validation is failing which leads to populating domain bad in
> resolv.conf
> Domain name ending with . is a valid syntax according RFC-1034.
> The Patch fixes the domain name validation which ends with "."

Well, this may be technically allowed, but wouldn't you think that
such DHCP response is definitely odd, and it's better to know about it?

What DHCP server gave you such domain name? And why does it do that?

More information about the busybox mailing list