Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    HOW SET PFSENSE FIREWALL ALLOW GOOGLE BOT (BY PTR RECORD, DNS LOOKUP)

    Scheduled Pinned Locked Moved Firewalling
    2 Posts 2 Posters 773 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hungudgm
      last edited by

      Dear All,

      Please help me, "Google doesn't post a public list of IP addresses for webmasters to whitelist"
      https://support.google.com/webmasters/answer/80553?hl=en

      So, we use ptr record, that use DNS lookup, and check record contain string ".googlebot.com" to whitelist

      Please help me config in pfsense

      Thanks for any help  ;D

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        You cannot base firewall decisions on DNS results in that way.

        And anyone who controls DNS for a netblock can return whatever result they want in a PTR, it would be trivial to bypass such a block.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.