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

    DNS resolver doesn't resolve public DNS pointing to local address

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 3 Posters 495 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.
    • F
      fishfox
      last edited by

      In public DNS I have an entry (e.g. host.example.com) set to an IP on the local network (e.g. 192.168.88.10).

      When I query that host (host.example.com) I get the local IP for all resolvers except that on my PFSense firewall.

      Is there some kind of setting that blocks this resolution?

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

        It's a security feature to prevent DNS Rebinding attacks.

        See https://www.netgate.com/docs/pfsense/dns/dns-rebinding-protections.html for info on how to work around that.

        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
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by johnpoz

          Putting rfc1918 in a public dns is almost always BORKED... And yes anything worth anything would not hand that back to a client because of possible rebind.. Because again rfc1918 in a public domain is just borked ;)

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

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