Is it possible to do reverse DNS lookup?

Hello!
I need to block users from US, but allow Googlebot to pass, so the best way to verify Google is to do reverse DNS lookup https://support.google.com/webmasters/answer/80553
Is it possible with workers?

Firewall rule

(ip.geoip.country eq "US" and not cf.client.bot)
2 Likes

If you solve this in workers with real verification that’d be great. I’ve done this in Node recently where it was easy enough due to the dns module in node.