Comment Comment by abiogenesis This is a solved problem and not very complicated. For starters the last DNS label of a hostname cannot be all numbers: https://tools.ietf.org/html/rfc1123#page-13 parent abiogenesis 5 years ago