remove zonename before testing for allowed two dots.
disallow two consecutive dots.
disallow empty names.