'.' is tricky. 
Currently 1 letter hostname (e.g., 'a', '_') is fine, but '.' does not work for 1 letter '.' or 2 letters '..'