# YandexBot

> YandexBot is Yandex's crawler for building the index its search and answers draw on. Here's how to recognize it and check a request really is it.

## YandexBot facts

- **Operator:** Yandex
- **Type:** Crawler
- **Why it fetches:** Builds a search or answer index
- **User agent contains:** `YandexBot`, `YandexImages`, `YandexVideo`, `YandexMedia`, `YandexMarket`, `YandexNews`, `YandexAccessibilityBot`, `YandexAdditionalBot`, `YandexRenderResourcesBot`
- **Verified by:** reverse DNS
- **Operator's documentation:** [yandex.com/support/webmaster/robot-workings/check-yandex-robots.html](https://yandex.com/support/webmaster/robot-workings/check-yandex-robots.html)

## Allow or block YandexBot

Yes, if you want to appear in Yandex's search and answers. Blocking it can keep your pages out of them.

To ask it to stay out, add this to robots.txt: `User-agent: YandexBot` then `Disallow: /`. Whether it follows robots.txt is Yandex's call; [its documentation](https://yandex.com/support/webmaster/robot-workings/check-yandex-robots.html) says.

## How to tell a real YandexBot from an impostor

Anyone can put "YandexBot" in a user agent. What can't be faked is below.

- **Check reverse DNS.** Look up the requesting IP's host name; it should end in `yandex.ru` or `yandex.net` or `yandex.com`. Then look that name up and make sure it resolves back to the same IP, since anyone can set a reverse DNS name on their own addresses.

## How Punchline counts YandexBot

Punchline labels a request that names YandexBot with how sure it is: **verified** or **declared** when the evidence checks out, a lower tier when it can't be checked, and **impostor** when the evidence contradicts it. Each visit is counted under Yandex, with its purpose, so you can see whether YandexBot is reading your site and which pages it reads. [How it works](https://punchlineanalytics.com/how-it-works) · [Known agents](https://punchlineanalytics.com/docs/agents)

[See which agents read your site](https://app.punchlineanalytics.com/signup)
