AhrefsBot
SEO and marketing crawler operated by Ahrefs
Ahrefs
Operator
Reverse DNS
Verification
AhrefsBot
robots.txt token
Yes
Honours robots.txt
What AhrefsBot is
Ahrefs SEO backlink crawler.
Its robots.txt token is AhrefsBot , and it is listed as honouring robots.txt. Operator documentation: Ahrefs .
Verifying it yourself
Use a forward-confirmed reverse DNS lookup. The hostname must end in .ahrefs.com , .ahrefs.net , and must resolve back to the address you started with:
# 1. reverse lookup: hostname should end in .ahrefs.com, .ahrefs.net
dig +short -x 203.0.113.42
# 2. forward lookup: must return the address you started with
dig +short that-hostname.ahrefs.comSwap in the address you are checking. Never trust the User-Agent on its own: it is a header the client picks for itself.
Blocking it
If you want the real crawler to stay away, robots.txt is the polite way to ask:
User-agent: AhrefsBot
Disallow: /robots.txt only works on a client willing to obey it, which rules out every request that was already lying about who it is. Stopping those takes enforcement at the network or application layer, keyed on something the client cannot simply retype. That is the problem WebDecoy exists to solve.
Frequently Asked Questions
What is AhrefsBot? +
AhrefsBot is a seo and marketing crawler operated by Ahrefs. Ahrefs SEO backlink crawler.
How do I verify AhrefsBot? +
Use a forward-confirmed reverse DNS lookup. Resolve the source address to a hostname, check that the hostname ends in .ahrefs.com, .ahrefs.net, then resolve that hostname and confirm it returns the address you started with. A reverse record on its own proves nothing.
How do I block AhrefsBot? +
Add a robots.txt rule for the token AhrefsBot. That stops the real crawler, but not clients that only borrow its name, so pair it with verification and enforcement at your edge.
Related crawlers
- YepBot Ahrefs
- AwarioBot Awario
- Barkrowler Babbar
- Botify Botify
- ContentKing ContentKing
- CrolBot cloro
- DataForSeoBot DataForSEO
- DeepCrawl Lumar
- DotBot Moz
- HubSpot Crawler HubSpot
- meta-externalads Meta
- MJ12bot Majestic
See which AhrefsBot requests are real
WebDecoy verifies declared crawlers against what their operators publish and identifies the ones that fail, as persistent actors rather than disposable IPs.