add ip addresses to allowed_hosts