Lester added code for tlds with more than one dot