Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
nixos: Conform with RFC 1123 in networking.hostName #99329
Motivation for this change
also see #94011.
Conform to RFC 1123 , specifically to "2.1 Host Names and Numbers", which allow starting host name with alphanumerical instead of alphabetical characters. RFC 1123 updates RFC 952 , which is referenced in "man 5 hosts". : https://tools.ietf.org/html/rfc1123 : https://tools.ietf.org/html/rfc952
primeos left a comment
The way I see it is that they're different "standards" (domain names vs. requirements for Internet hosts) and RFC 1123 isn't listed as an update of RFC 1035 (but I didn't read them so I might be missing something). However, it still seems to be considered an amendment or even update depending on the source.
But in any case I'm fine with this change (RFC 1123 seems more appropriate) though I'm not sure if we really need it and if e.g. some (old) software might misbehave if the hostname starts with a digit.
I'll give this a slight approval but I don't want to make the final decision here.