When I add one character hostname like "a" or "f", this application alert `Please enter a valid hostname`. But when hostname is "g", it is not alerted. "aaaa" is bad, "aaaaa" is good. "aaaf" is bad, "aaag" is good. It strange to me.