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

    Bind: resolve for internal zone doesn´t work

    Scheduled Pinned Locked Moved pfSense Packages
    18 Posts 6 Posters 4.4k 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
      muswellhillbilly
      last edited by

      Might be an idea if you could post a screenshot of your Bind config. For completeness, you could also post a screen-grab of your DHCP config screen.

      1 Reply Last reply Reply Quote 0
      • W
        warrender
        last edited by

        It would be a great help if you could compare your settings with my screenshots.
        Thanks

        bind_settings.JPG
        bind_settings.JPG_thumb
        bind_zones.JPG
        bind_zones.JPG_thumb
        dhcp.JPG
        dhcp.JPG_thumb
        zone_records.JPG
        zone_records.JPG_thumb
        ipconfig.JPG
        ipconfig.JPG_thumb
        nslookup.JPG
        nslookup.JPG_thumb

        1 Reply Last reply Reply Quote 0
        • D
          doktornotor Banned
          last edited by

          Maybe it would work better if you checked Listen on loopback since you are pointing there in your zones?

          1 Reply Last reply Reply Quote 0
          • W
            warrender
            last edited by

            Thank you, but it doesn´t work with "loopback". Even external resolutions don´t work with this setting.

            1 Reply Last reply Reply Quote 0
            • D
              doktornotor Banned
              last edited by

              Post the text configs. Not using this package and not really keen on reading the code to guess what's the GUI stuff transformed to.

              1 Reply Last reply Reply Quote 0
              • W
                warrender
                last edited by

                where can i find the text configs?

                1 Reply Last reply Reply Quote 0
                • P
                  peircean
                  last edited by

                  I ran into this problem too and I believe that the GUI is not generating a zone file for BIND.  I can't find anything about my zone in /cf/named.

                  I opened a bug about this already: https://redmine.pfsense.org/issues/4554

                  Is there a way I can get debug logging from the GUI?

                  Thanks,

                  1 Reply Last reply Reply Quote 0
                  • D
                    doktornotor Banned
                    last edited by

                    /cf/named is NOT the place to look to.

                    1 Reply Last reply Reply Quote 0
                    • P
                      peircean
                      last edited by

                      Looks like my problem was that I did not have a view configured.  I added a view for my zone and now the zone files are being generated, and guess where they are, in /cf/named!  Amazing!

                      Thanks again.

                      1 Reply Last reply Reply Quote 0
                      • P
                        peircean
                        last edited by

                        Finally got my configuration working.

                        Tips & gotchas…

                        1. You must first create a View and select that in your Zone, otherwise the GUI will not generate a zone config file.

                        2. You must set your zone to allow-query or everyone will be denied access to it by default.

                        3. If you specify a forwarding server, you must end it with a semicolon (even if there's only one) or the GUI will generate an invalid config and BIND will not start.

                        Everything else was pretty straightforward.  I'll update if I think of any more tips.

                        Thanks for all your help!

                        1 Reply Last reply Reply Quote 0
                        • S
                          SixXxShooTeR
                          last edited by

                          Have you got it working yet Warrender? Is there a guide to setting up BIND on pfSense, I could only find this resource…

                          http://blog.muhammadattique.com/configuring-bind-dns-server-on-pfsense-firewall/#/

                          1 Reply Last reply Reply Quote 0
                          • W
                            warrender
                            last edited by

                            With your help it works now!
                            The trick is that you have to create a view and select that view in your Zone as Peircean wrote. I also have to set "view"-"match clients" -"any".

                            @SixXxShooTeR
                            I also found only this guide.

                            1 Reply Last reply Reply Quote 0
                            • N
                              narko
                              last edited by

                              Hi, I am trying to do the same but still didn't achieve it by following your steps. Do you use any firewall rule for the DNS? Are you running the DHCP server also on pfsense? Please any help is gratefully appreciated :)

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