return allowed hosts after reading