As mentioned by Yahia on: https://stackoverflow.com/a/8463722/11495448
Oracle has problems when applying a subdomain and having to resolve the DNS. If possible, always use the IP address.