How to block ERNIE
How to block ERNIE on every device
ERNIE Bot is Baidu’s AI assistant, served from yiyan.baidu.com and the Wenxin platform. Below: how to block ERNIE in the browser, on phones and tablets, on your home or school network, and on managed devices.
AI blocker suite for browsers, desktop, and mobile
ERNIE
AI assistants
yiyan.baidu.comBlocked2 hostnames in the Nullgen catalog
Every entry also covers its subdomains, so the ERNIE app and API are blocked too.
What ERNIE connects to
These are the hostnames ERNIE uses for its website, its apps, and its API. Each entry is matched as a suffix — blocking yiyan.baidu.com also blocks every subdomain of it — so the ERNIE app cannot slip through on a hostname that is not listed. Shared hosts that other products need are deliberately left out.
| Hostname | Role |
|---|---|
| yiyan.baidu.com | Main website |
| wenxin.baidu.com | App, API, or content host |
Block ERNIE in the browser
Free: Nullgen browser extension
The Nullgen extension stops typing and pasting into the ERNIE prompt box — and into AI prompt fields on any website, including new tools that launched last week. Everything else on the page keeps working. It runs right in Chrome, Edge, Firefox, and Safari, with no DNS or policy setup.
Managed browsers: block the sites by policy
On a school or company fleet, push the hosts above as a browser policy to block the whole ERNIE site. These snippets use the official Chrome, Edge, and Firefox policy names.
{
"URLBlocklist": [
"wenxin.baidu.com",
"yiyan.baidu.com"
]
}Chrome and Edge treat a bare hostname as the host plus every subdomain.
{
"policies": {
"WebsiteFilter": {
"Block": [
"*://wenxin.baidu.com/*",
"*://*.wenxin.baidu.com/*",
"*://yiyan.baidu.com/*",
"*://*.yiyan.baidu.com/*"
]
}
}
}Firefox needs both the apex and the wildcard pattern.
Need every AI tool in one file, or a .reg or macOS profile?
Open the free policy generatorBlock the ERNIE app on phones and tablets
Nullgen mobile app
The Nullgen app blocks ERNIE and 100+ other AI apps and sites on the whole device with an on-device filter — the app, the website, and the API, on any network, with no DNS server to run. Included with Nullgen Pro.
Without Nullgen: Screen Time on iPhone and iPad
- 1Open Settings → Screen Time → Content & Privacy Restrictions and turn restrictions on. This covers ERNIE in Safari and in apps that use Apple’s web filter.
- 2Under Web Content, choose Limit Adult Websites — the setting that lets you deny yiyan.baidu.com by name.
- 3Under Never Allow, add yiyan.baidu.com. Safari and apps that use Apple’s web filter will refuse it.
- 4To keep the ERNIE app off the device entirely, delete it and set Installing Apps to Don’t Allow, or use Ask to Buy on a child’s Apple Account.
Without Nullgen: Family Link on Android
- 1Open Family Link, choose the child, then Controls → Content restrictions → Google Chrome — where ERNIE can be blocked by site.
- 2Choose Only allow approved sites, or add yiyan.baidu.com under Blocked sites.
- 3Under Controls → App limits, block the ERNIE app, or require approval for new installs from Google Play.
Block ERNIE on your home or school network
A DNS blocker such as Pi-hole, AdGuard Home, NextDNS, or pfBlockerNG blocks ERNIE for every device on the network — laptops, phones, consoles, and the ERNIE app — without installing anything on them. Subscribe to the ERNIE file from the public blocklist, or paste the rules directly.
Subscribe to the ERNIE list
AdGuard Home, uBlock Origin, and Brave rules
||wenxin.baidu.com^
||yiyan.baidu.com^DNS blocking cannot see inside a VPN or a phone on mobile data. For a block that follows the device, use the Nullgen apps or an MDM profile.
Block ERNIE on managed devices
Schools and companies can block ERNIE on every managed iPhone, iPad, laptop, and Chromebook from the MDM they already run — Intune, Jamf, Kandji, or Google Workspace — with per-person policies and an approval flow for legitimate use. Nullgen Pro provides the profiles and the dashboard; these guides walk through the setup.
About ERNIE
How people use ERNIE
ERNIE Bot is Baidu’s assistant, now presented on Baidu’s site as the Wenxin assistant with a focus on desktop productivity: writing, image creation, reading documents, and a library of task agents. People reach it at wenxin.baidu.com and the older yiyan.baidu.com, and the interface is in Chinese.
What makes ERNIE hard to block
Both of Baidu’s hostnames for the assistant are listed, so the redirect from the old address to the new one does not create a gap. The limit is the same one every Baidu product shares: the assistant lives on baidu.com subdomains, and the baidu.com apex is not blocked, because it is also China’s largest search engine. ERNIE features that appear inside Baidu Search are therefore not covered by this page.
Baidu also sells ERNIE through its cloud platform under separate hostnames; those are enterprise services and are not part of this consumer-focused block.
The browser extension stops typing into the assistant’s prompt box in the browser; the DNS and device-level blocks cover the Baidu assistant apps. Because the assistant uses a Baidu account, the account itself keeps working for Baidu Search and other Baidu products.
Questions about blocking ERNIE
Does this block ERNIE inside Baidu Search?
No. Baidu Search runs on baidu.com, which is not on the list because blocking it would block the search engine. This page blocks the standalone assistant at wenxin.baidu.com and yiyan.baidu.com. Baidu’s own site presents the assistant as a desktop productivity product, which is where most of its use sits.
Why are two Baidu hostnames listed?
yiyan.baidu.com was the assistant’s original address and now redirects to wenxin.baidu.com. Both are listed so neither address keeps working. Shared links and bookmarks still carry the yiyan address.
Is Baidu’s cloud version of ERNIE blocked?
No. Baidu’s enterprise cloud platform runs on separate hostnames shared with other cloud services and is not part of this block. It is an enterprise developer platform rather than a consumer surface.
Does the free Nullgen extension block ERNIE?
Yes. The free extension blocks the prompt box on ERNIE and on any other site where it recognizes an AI prompt, in Chrome, Edge, Firefox, and Safari. It works on the page itself, so it needs no policy and no DNS change.
Does this block the ERNIE app, not just the website?
A DNS or device-level block does. The app talks to the same hostnames listed above, and every entry covers its subdomains, so the app cannot slip through on a hostname that is not listed. A browser policy or extension only covers the browser.
What happens when ERNIE adds a new hostname?
The catalog is updated as vendors change, and the Nullgen apps, the extension, and the public blocklist all read from it, so a new hostname reaches every device without anyone editing a list by hand.
Block ERNIE today
Start with the free browser extension. Add Nullgen Pro when you need the ERNIE app blocked on phones, tablets, and desktops, with approvals for the people who really need it.