Move allowed hosts to local settings.