[systemd-devel] [PATCH] network: allow domain names up to 255 characters

Lennart Poettering lennart at poettering.net
Sun Apr 12 06:35:32 PDT 2015


On Fri, 10.04.15 13:03, Nick Owens (mischief at offblast.org) wrote:

> From: mischief <mischief at offblast.org>
> 
> The maximum domain name size is larger than the maximum host name size.
> The smaller limit causes valid domains provided by DHCP or .network
> files to be silently ignored.

Hmm?

Can you give an example?

What is a domain name according to your definition? And what a
hostname?

So far, a hostname in my definition was either a single label, or an
fqdn, and a domain name the part of the fqdn with the first label
removed... 

With such a definition I am not sure I understand the patch, hence
please explain, and give a valid example of where this turns out to be
an issue?

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list