SEO + AEO on AutopilotFrom the team at Stackmatix
The Growth Library

Verify Claimed Google Crawlers With Reverse and Forward DNS Evidence

Verify claimed Google crawler requests with trusted peer addresses, reverse DNS, hostname boundaries, forward matching, category checks, and explicit unknowns.

A Google-like user agent is a claim, not verification. For a bounded manual review, start with the trusted source address, perform reverse DNS, validate the returned hostname against Google's current documented categories, and confirm that forward DNS includes the original address. Preserve each step and its observation time.

This identity check precedes the crawl-log review. It does not establish indexing, ranking, or use of the fetched page in an AI answer. The useful output is a request-level verification record with failed and unresolved states kept distinct.

Start With An Address You Can Trust

Identify which logging field contains the actual client address under your infrastructure's trust configuration. An origin behind a reverse proxy may see the proxy's peer address. A forwarded header supplied by an arbitrary client is not automatically reliable evidence of the original requester.

Ask the infrastructure owner to document the trusted proxy chain and the field used for analysis. Do not change proxy settings or accept every forwarded address merely to fill the worksheet. If the true source address is unavailable, classify the request as identity unverified under this method.

Keep only the operational data required and follow access and retention policy. Published reporting can summarize verification results without exposing raw addresses or sensitive requested URLs.

Follow Both DNS Directions

Google's crawler-verification guidance describes reverse lookup of the accessing IP, checking the domain, and forward lookup of the returned hostname to confirm the original IP. It separately provides published range lists for automated verification.

The reverse result alone is insufficient. A hostname string that looks familiar does not complete the chain. Record the forward result set and test membership of the original normalized address. Multiple returned addresses require a set comparison rather than assuming the first printed line is decisive.

For authorized manual work, tools such as host can perform the lookups, as in Google's examples. Save the command, result, time, resolver context where relevant, and interpretation. A command recipe should be adapted to the organization's approved environment rather than run against private data in an uncontrolled workspace.

Check A Domain Boundary, Not A Substring

The hostname check must respect DNS label boundaries. A name ending in the intended documented domain is different from a name containing that text earlier. Treat a conventional trailing root dot and case consistently when comparing the returned name, while preserving the original evidence.

For example, the invented test string crawl.googlebot.com.attacker.invalid contains googlebot.com but does not end in that domain. The invented string notgooglebot.com is also not a subdomain of googlebot.com. A naive contains check can accept both incorrectly.

Use the exact current domain and hostname patterns appropriate to the category. Do not generalize a broad substring rule from these examples. Have the implementation reviewed with deliberately deceptive fixtures before trusting an automated label.

Preserve The Crawler Category

Google distinguishes common crawlers, special-case crawlers, and user-triggered fetchers, with different masks and published address lists. A verified fetch associated with a Google product is not automatically a routine Googlebot crawl.

Match the evidence to the current documented category and keep that category in the record. Where the category remains unclear, say verified under the inspected method but category unresolved, rather than counting it as common search crawling.

The crawler-versus-citation guide explains the next boundary: even a correctly categorized request does not reveal how its content was later used. Identity verification should reduce uncertainty, not create a stronger downstream story than the record supports.

Test The Classifier With Fictional Cases

The following are synthetic acceptance cases, not live DNS observations. Use controlled mock results rather than inventing a public hostname's actual DNS configuration.

Test CaseReverse ResultForward ResultInterpretation
Valid documented patternAccepted category patternIncludes original source IPVerified under this method
Deceptive suffixFamiliar text inside unrelated domainAny resultReject hostname check
Forward mismatchAccepted-looking hostnameOriginal IP absentNot verified
Lookup timeoutNo completed evidenceUnknownUnresolved, not verified
Proxy address onlyAddress provenance unresolvedAny resultSource identity unknown

A timeout is not proof of spoofing. A forward mismatch is not a diagnosis of malicious intent. The classification says whether the required verification evidence exists; security investigation may require additional evidence and a separate owner.

Make Address Comparison Explicit

Normalize addresses using a proper IP-address representation rather than ad hoc string transformations. IPv6 has equivalent textual forms, and a raw string comparison can report a mismatch where the represented address is the same. Record the address family and the normalization method used.

Do not silently convert every address to another family or infer a missing address from a nearby request. Verification belongs to the specific source evidence available for that request. If a logging pipeline masks or truncates addresses, preserve that limitation.

For large-scale classification, evaluate Google's documented published range approach with the infrastructure owner. Store retrieval date, relevant list category, and matching result. Do not hard-code one example IP from a documentation page as a permanent allowlist.

Separate Analysis From Access Decisions

A reporting label and a firewall exception have different consequences. This worksheet classifies evidence for analysis; it does not authorize bypassing authentication, broadening access, or weakening rate controls for a claimed crawler.

If access policy needs to change, involve the responsible infrastructure and security owners. Validate the intended category, least necessary scope, operational monitoring, and rollback. A verified request can still encounter an intentional access boundary.

Use the preview-access policy when the content's public or private state is the actual question. Robots directives do not replace access controls, and verified crawler identity does not make private content appropriate to expose.

Use A Pure Acceptance Function

The following Python example checks one candidate hostname and forward-address set after lookups have already occurred. It does not perform DNS, establish trusted address provenance, or validate the complete category mask. The caller must supply the currently approved suffix for the intended category and separately check that mask. Run it with synthetic fixtures before integrating it into an authorized workflow.

from ipaddress import ip_address

def linked(peer, ptr, forward, suffix):
    name = ptr.rstrip(".").lower()
    root = suffix.rstrip(".").lower()
    boundary = name == root or name.endswith("." + root)
    return boundary and ip_address(peer) in {
        ip_address(value) for value in forward
    }

assert linked("2001:db8::1", "fixture.googlebot.com.",
              ["2001:0db8:0:0:0:0:0:1"], "googlebot.com")
assert not linked("192.0.2.7", "notgooglebot.com",
                  ["192.0.2.7"], "googlebot.com")
assert not linked("192.0.2.7", "x.googlebot.com.attacker.invalid",
                  ["192.0.2.7"], "googlebot.com")
assert not linked("192.0.2.7", "fixture.googlebot.com",
                  ["192.0.2.8"], "googlebot.com")

These reserved example addresses and mock forward results describe no real Google host. The first assertion accepts two textual representations of one IPv6 address; the next two reject deceptive boundaries; the last rejects a forward mismatch. Handle invalid addresses and lookup failures as explicit upstream error states rather than presenting a completed negative result.

Save A Reproducible Verification Record

Record trusted source field, original address reference, claimed user agent, reverse response, boundary result, forward addresses, category, method, time, and unresolved reason. Include a pointer to the inspected primary guidance and any approved implementation version.

Summarize verified, not verified, and unresolved separately. A review with seven verified requests and three lookup failures contains ten reviewed requests, not ten verified crawls. Do not turn incomplete DNS into a zero count of genuine activity.

Close the task when the request classification is defensible under the recorded method. Then use status, route, and content evidence for the next crawl diagnosis. Correct identity is the beginning of that analysis, not proof that search visibility improved.

Sources

Matt Pru

Co-founder and CEO of Stackmatix. Writing about growth, customer acquisition, and the decisions behind useful marketing. Connect on LinkedIn.

Developed with AI assistance under Matt's editorial direction. Our Editorial Approach