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

    Name server behind pfSense not working properly

    Scheduled Pinned Locked Moved DHCP and DNS
    5 Posts 3 Posters 843 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.
    • M Offline
      mindflame
      last edited by

      Hi guys,

      I have got a nameserver ns1.domain.com sitting behind a pfSense firewall. The nameserver is facing public using port 53 via NAT and is running ubuntu. The problem is that, i am able to dig locally, but not externally. For eg: dig @192.168.1.5 testdomain.com gives the record but dig@publicip testdomain.com gives error: connection timed out, no servers were found.

      What could be wrong?

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

        So your on the 192.168.1 network and trying to hit the public IP to be reflected back in.. Did you setup nat reflection?

        Hosting dns to the public is normally a really 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 25.07.1 | Lab VMs 2.8.1, 25.07.1

        1 Reply Last reply Reply Quote 0
        • M Offline
          mindflame
          last edited by

          YEP… DO YOU MEAN PORT FORWARD? YES... BUT WHEN I TRY TO PARK A DOMAIN TO MY NAME SERVERS FROM GODADDY IT TELLS ME ERROR: OBJECT NOT FOUND. WHEN I PERFORM A DIG.... I GET CONNECTION TIMED OUT.. NO SERVERS COULD BE REACHED....

          1 Reply Last reply Reply Quote 0
          • M Offline
            mindflame
            last edited by

            Where do i set up NAT reflection?

            1 Reply Last reply Reply Quote 0
            • dotdashD Offline
              dotdash
              last edited by

              It's in the port-forward under 'NAT reflection'.
              If you use pure NAT, go to system/advanced/Firewall & NAT and check the box to enable automatic OB NAT for Reflection.

              You probably shouldn't be hosting your public zone, but that is another discussion.

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