Thank you for reply, Michael,
Standards are good, but you can't reverse the time and make already existent software to follow them on global scale. How would you fix dhclient stuff for old OSes?
IMHO, it still possible to follow standard and have partial acceptance of old way - instead of replacing whole domain line by "bad", take only part till space, eg:
if (ch == '\0' || ch == ' ' || ch == '.' )
return label;
Then, there is 100% correct domain (abusers of opt. 15 usually know what they are doing), everything conformant to standard, and no breakage for old software! Everyone is happy again :)
And, if you do insist on standards, then yes, "/* NS_MAXLABEL; labels must be 63 chars or less */" , we want this.
Thanks,
D