Blocking of sub-domain and domain in local database content filtering