I don't know if it is fair to say that a period is part of the domain name. It just separates out the subdomain. news.ycombinator is the subdomain 'news' on the ycombinator name, whereas dashes have no actual information pertaining to them.
I simply processed the file provided by the good folks at Verisign, and used however they classified things.