Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    DNS unable to resolve domains that point to internal IP addresses

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 2 Posters 1.3k Views 2 Watching
    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
      fuckwit_mcbumcrumble
      last edited by fuckwit_mcbumcrumble

      I have a few public DNS records that point to internal IP addresses that resolve just fine on other networks.
      But on my pfSense 2.7 device any DNS record that's an internal IP fails to resolve.

      ex:
      ping test.png
      These domains resolve just fine on my home network using Google's routers and DNS servers.

      Any idea what would be causing these DNS records to fail? Is there some setting that blocks these DNS records for whatever reason?

      Some various settings:
      cat /etc/resolv.conf
      nameserver 127.0.0.1
      nameserver 8.8.8.8
      nameserver 8.8.4.4

      General setup DNS Server Settings
      pfsense dns settings.png

      DHCP server DNS settings
      dhcp dns servers.png

      johnpozJ 1 Reply Last reply
      Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @fuckwit_mcbumcrumble
        last edited by

        @fuckwit_mcbumcrumble if you forward, and it returns a rfc1918 address it would be a rebind.

        https://docs.netgate.com/pfsense/en/latest/services/dns/rebinding.html#dns-rebinding-protections

        It is not good practice to have public dns return a rfc1918 address.

        If your going to forward to something and want unbound to return the rfc1918 to the client asking, you would need to setup the domain as private, or completely disable rebind protection - see the above link for details.

        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 26.07 | Lab VMs 2.9.0, 26.07

        F 1 Reply Last reply
        Reply Quote 1
        • F
          fuckwit_mcbumcrumble @johnpoz
          last edited by

          @johnpoz Thanks! Disabling DNS Rebind Check fixed it.

          johnpozJ 1 Reply Last reply
          Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @fuckwit_mcbumcrumble
            last edited by

            @fuckwit_mcbumcrumble I would lean more towards just setting the domains you know are going to return rfc1918 as private vs disabling rebind completely.

            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 26.07 | Lab VMs 2.9.0, 26.07

            1 Reply Last reply
            Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
            Privacy Policy · Cookie Policy