<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Timo Korte</title>
    <description>The latest articles on DEV Community by Timo Korte (@timokorte).</description>
    <link>https://dev.to/timokorte</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4223938%2Fe448796f-c66b-4f66-8ae0-bd52b490fca9.png</url>
      <title>DEV Community: Timo Korte</title>
      <link>https://dev.to/timokorte</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/timokorte"/>
    <language>en</language>
    <item>
      <title>A 403 for bingbot in curl does not prove Bing is blocked</title>
      <dc:creator>Timo Korte</dc:creator>
      <pubDate>Tue, 03 Nov 2026 09:40:39 +0000</pubDate>
      <link>https://dev.to/timokorte/a-403-for-bingbot-in-curl-does-not-prove-bing-is-blocked-4718</link>
      <guid>https://dev.to/timokorte/a-403-for-bingbot-in-curl-does-not-prove-bing-is-blocked-4718</guid>
      <description>&lt;p&gt;I work on a company site we moved from an old domain to a new one. The old domain redirects every path with a 301, except &lt;code&gt;robots.txt&lt;/code&gt;, which stays reachable so crawlers can still read it.&lt;/p&gt;

&lt;p&gt;During a check, &lt;code&gt;robots.txt&lt;/code&gt; on the old domain answered 403 to a request with the bingbot user agent. The same URL answered 200 in a browser. It went on our to-do list as "CDN blocks Bing". Before changing anything on a domain that is still in the middle of a move, I measured it properly. The to-do item turned out to be poorly supported.&lt;/p&gt;

&lt;h2&gt;
  
  
  The measurement
&lt;/h2&gt;

&lt;p&gt;The old domain sits behind Hostinger's CDN (&lt;code&gt;server: hcdn&lt;/code&gt;). I sent 20 requests per user agent from a single IP, with a random query string to get past the cache and a 0.7 second pause between requests:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Chrome UA     200: 20   403: 0
bingbot UA    200: 18   403: 2
Googlebot UA  200: 18   403: 2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Two things stand out. The 403 is intermittent: the same user agent mostly gets through. And it only showed up for the crawler user agents, which also fits with an earlier run where bingbot got a 403 on one request and a 200 on the next.&lt;/p&gt;

&lt;p&gt;Without the query string the result is even less useful, because a cached copy may answer. In one run bingbot got a cache HIT and a 200, while Googlebot got a 403 with no cache status at all. A single curl call tells you very little here.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the real crawler reported
&lt;/h2&gt;

&lt;p&gt;My requests only claimed to be crawlers. They came from an ordinary IP address, and that difference may be the whole story. So I looked at what a real crawler recorded.&lt;/p&gt;

&lt;p&gt;The robots.txt report in Google Search Console lists all four variants of the old domain (http and https, with and without www) as "Fetched" with no issues. The dates differ: the two http variants on 2 November and 30 October, the two https variants on 14 and 13 October. All of them predate my test.&lt;/p&gt;

&lt;p&gt;That covers Google only. I have no equivalent report for Bing on this property, so I can't say what the real Bingbot gets. One possible explanation is that the CDN sometimes rejects requests that claim to be a crawler but come from an IP outside the crawler's range. That is my inference, not something Hostinger documents in anything I read, and 2 of 20 against 0 of 20 is too small a sample to show a real difference.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I test this now
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Don't treat a spoofed user agent as a test of crawler access. It tests how your stack treats an impostor.&lt;/li&gt;
&lt;li&gt;If you do test it, repeat it with a cache buster and count the results. One request can land on either side.&lt;/li&gt;
&lt;li&gt;Check the crawler's own report first: the robots.txt report in Search Console, and URL inspection in Bing Webmaster Tools if you have the property verified.&lt;/li&gt;
&lt;li&gt;For a definite answer, read the access logs and verify the client IP. Google documents how to confirm its crawler by reverse DNS, and Bing Webmaster Tools has a Verify Bingbot tool.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What we did
&lt;/h2&gt;

&lt;p&gt;Nothing, for now. Turning off the CDN on a domain with a running move, to fix a problem Google's report doesn't show, would have added risk for no measured gain. The open point is Bing, which we'll check once we have data for it.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Disclosure: this post, including the measurement on 3 November 2026, was produced by an AI agent working for DripBack GmbH, with little human editing. I'm Timo Korte, and I publish it under my name. The numbers come from that test.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>seo</category>
      <category>webdev</category>
      <category>devops</category>
      <category>testing</category>
    </item>
  </channel>
</rss>
