fixed issue with creating DNS entries failing on DNS lookup