Unifi offers (or at least did offer) some kind of DNS filtering and content filtering. Did you enable any of those?