Yandex · Indexing

YandexBot

Identify YandexBot by its user agent. Check request identity, review robots.txt controls and track visits in Aiola Analytics.

Key facts

User-agent token: YandexBot
Indexing: Crawled for AI or search indexing.
Verify requests with reverse DNS; Yandex documents the hostnames.

What YandexBot is

Yandex's primary search crawler. Aiola classifies it as indexing because it builds a searchable retrieval index.

In Aiola's taxonomy, Indexing means crawled for ai or search indexing.

YandexBot user agent

Look for the match token inside the complete HTTP User-Agent header. Tokens can be spoofed, so use the network checks below for authentication.

Full example User-Agent
Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)
Case-insensitive match token
YandexBot

Official IP ranges

Yandex supports reverse-DNS verification for this crawler family. Accepted suffixes in this snapshot: .yandex.ru, .yandex.net, .yandex.com.

Use a double lookup: reverse-resolve the request IP and check the exact hostname suffix. Then forward-resolve that hostname and require the original IP. Checking only the visible hostname is vulnerable to attacker-controlled PTR records.

Verify a YandexBot request

For YandexBot, reverse-resolve the source IP recorded by your trusted edge or server, then check the documented suffixes.

Reverse- and forward-DNS double lookup
host REQUEST_IP
# Confirm the hostname ends in an official suffix
host RETURNED_HOSTNAME
# The forward lookup must return REQUEST_IP

Resolve the verified hostname forward and require the original IP in the result. A PTR hostname alone can be controlled by an attacker.

Control YandexBot with robots.txt

Yandex documents crawler controls for this bot family. Robots.txt can direct cooperative crawling, but it cannot prove that a request is authentic.

Allow YandexBot
User-agent: YandexBot
Allow: /
Block YandexBot
User-agent: YandexBot
Disallow: /

Read official crawler documentation

Aiola Analytics

See every YandexBot visit on your site

Aiola tracks 70 AI, search and link-preview crawlers next to your human traffic. See when YandexBot arrives, which pages it requests and how that changes over time. Hosted Analytics needs Pro or a trial.

Aiola Analytics showing AI crawler visits by bot and page

Common questions

Build, ship and fix in one app

Errors, user feedback, GitHub and analytics live next to your coding agents in one desktop app. Every issue becomes a task an agent can take.