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

    DNS Successful with 8.8.8.8, not with PFSense

    Scheduled Pinned Locked Moved DHCP and DNS
    6 Posts 4 Posters 983 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.
    • E
      EdHayes3
      last edited by

      I'm having trouble with a specific domain resolving.
      cytiva.plmcloudsolutions.com

      I can do a DNS lookup successfully directly with 8.8.8.8, but not if going through my PFSense router.
      63984e31-6990-45fd-befd-861ac24b2733-image.png

      PFSense has Google and Cloudflare as DNS servers
      6c414150-65a5-47c0-9a3e-3611e4b34956-image.png

      I believe DNS Revolver is set up correctly.
      2bf9047f-40b3-4244-9f5e-4352fe8d1928-image.png

      Any suggestions on what to try to fix this? I'm assuming there is something wrong with the DNS records of what I'm trying to reach, as all other DNS is working. But would be interesting to know what the problem is.

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

        @edhayes3 well your reply is a 10.x address - that is a rebind... And just a horrible idea in the first place. Why would you think resolving public fqdn to rfc1918 would be a good idea.

        If you want to do that then you need to set unbound to know that domain is a private domain and rfc1918 is ok, and not a rebind.

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

        Better solution would be just to resolve stuff you want with rfc1918 address space locally..

        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

        GertjanG 1 Reply Last reply Reply Quote 1
        • GertjanG
          Gertjan @johnpoz
          last edited by Gertjan

          dig @127.0.0.1 cytiva.plmcloudsolutions.com +short
          

          No answer .... you have a case.

          https://www.zonemaster.net/domain_check and enter the domain name.
          Without even looking what the issue is : Your case is closed. The admin that admins "cytiva.plmcloudsolutions.com" messed up. Bad luck for him. And now for you.
          Give him a call ?

          dig @8.8.8.8 cytiva.plmcloudsolutions.com +short
          

          Gives an explicit answer : two actually.
          Both are RFC1918. Unbound won't accept these, normally.
          Consider call the guy who admins this.
          Wonder what the motivations are.

          @johnpoz was way faster.

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          1 Reply Last reply Reply Quote 1
          • E
            EdHayes3
            last edited by EdHayes3

            Thanks for the quick response guys! I disabled the DNS Rebinding Checks, and that allowed the DNS to work.

            I should have noticed the problem that the 10.x.x.x would be.

            The domain in question is not under my control. My company outsourced a system design to Siemens; this is under their control. I'll check with them what the goal of all this is. Seems from your two responses, they are not doing this right.

            S 1 Reply Last reply Reply Quote 0
            • S
              SteveITS Galactic Empire @EdHayes3
              last edited by

              @edhayes3 said in DNS Successful with 8.8.8.8, not with PFSense:

              disabled the DNS Rebinding Checks

              Another option is to add this to "Custom Options" in the DNS Resolver settings:

              server:
              private-domain: "plmcloudsolutions.com"
              

              That will allow private IPs just for that domain.

              Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
              When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
              Upvote 👍 helpful posts!

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

                ^ exactly - I even pointed out private domain. disable rebind for the everything is a bad idea

                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.