Allow it if
- You want pages indexed on Baidu to reach its users.
- Traffic checks out through the two-step DNS test.
Baiduspider is Baidu's search crawler. Its user agent, the robots.txt rules to block it, and Baidu's two-step reverse and forward DNS check for real traffic.
BaiduspiderMozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)Baiduspider is the crawler for Baidu, the Chinese search engine. Baidu says it will not crawl, index or show the content of pages blocked by robots.txt, so User-agent: Baiduspider with Disallow: / blocks it. To verify a request, Baidu documents a reverse DNS lookup to a baidu.com or baidu.jp hostname, then a forward lookup back to the IP.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
Baiduspider is the name of Baidu's search crawler, and the token Baidu's own robots.txt guide uses. Search crawlers like it find pages for an index you may want to appear in, so the decision to block one is different from blocking an SEO tool.
Baidu's pages we read give no visit frequency or Crawl-delay value, so don't take those from third-party blogs. On IP addresses, Baidu's resource platform (in Chinese) says its IP ranges change and are not fixed, so it cannot publish them.
Baidu's own rule: a user agent that doesn't match the documented forms is not Baidu's crawler. A match, though, proves nothing on its own, because any client can send the string.
Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)Baidu's robots.txt guide says the file must sit in the root directory of the site. It also says that if the file does not exist or is empty, the entire site is open to all search engines. Its examples:
User-agent: *
Disallow: /User-agent: Baiduspider
Disallow: /Baidu says blocked pages may still appear in its results if other websites link to them, in which case it shows only those external descriptions, not the page's own content. Matching of the token is case-insensitive per RFC 9309. The guide also supports * and $ wildcards and Allow lines, and says the order of Disallow and Allow records matters because the robot takes them in sequence from the top of the file and acts on the first match.
Compare the string with the documented forms. An invalid user agent means the request is not Baidu's crawler.
Run a reverse DNS query on the IP from your logs. Baidu says real hostnames look like *.baidu.com or *.baidu.jp. It names host on Linux, nslookup on Windows and dig -x on macOS.
Query that hostname and confirm it resolves back to the original IP. A mismatch indicates a fake. Baidu's own example resolves 111.206.198.69 to baiduspider-111-206-198-69.crawl.baidu.com and back.
host 203.0.113.10
host <hostname-from-step-1>The address above is a placeholder; use one from your log. Baidu says it cannot publish IP ranges because they change, so there is no list to compare against. For traffic that fails the check, see bad bots; for the same method on other bots, see good bots.
5 questions people ask next, answered from the sources on this page.
It is the crawler for Baidu's search engine.
Yes. Baidu says it will not crawl, index or show the content of pages blocked by robots.txt.
Add User-agent: Baiduspider and Disallow: / to the robots.txt at your site root.
Run a reverse DNS lookup on the IP and check for a *.baidu.com or *.baidu.jp hostname, then a forward lookup to confirm it returns the same IP.
No. Baidu's resource platform says its IP ranges change and are not fixed, so it cannot publish them. The documented method is the reverse and forward DNS check.
The free audit reads your robots.txt and checks AI visibility in ChatGPT, Perplexity, Gemini and Google AI Overviews.