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

    Simple caching DNS resolver

    Scheduled Pinned Locked Moved DHCP and DNS
    11 Posts 4 Posters 6.0k 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
      mxx
      last edited by

      Hi,

      Instead of running bind on a server in my local network, I wanted to setup a dns server on pfsense that simply serves as a resolver for the local network directly querying the root servers (not forwarding to the isp's dns servers).

      I thought that I could do that with TinyDNS, but I guess I got that wrong.
      Is tinyDNS only supposed to act as a dns server for my own domains?
      Would I need unbound for that? Is it stable enough on 2.x?

      Thank you very much!

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

        Why can't you use the pfSense DNS forwarder?

        1 Reply Last reply
        Reply Quote 0
        • M
          mxx
          last edited by

          Because I need to query directly and not use any isp dns servers.
          This is recommended for using rbls.

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

            @mxx:

            Because I need to query directly and not use any isp dns servers.

            The DNS forwarder can be configured to use any name server you want. I have configured my DNS forwarder to use OpenDNS rather than my ISPs DNS server.

            1 Reply Last reply
            Reply Quote 0
            • M
              mxx
              last edited by

              Thanks :)
              No, I can't use any open 3rd party dns servers, but query directly.

              I see unbound can do that, but I'm not sure about tinyDNS, I guess not? I wanted to use that since unbound being "alpha" suggested it to be less stable.

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

                @mxx:

                No, I can't use any open 3rd party dns servers, but query directly.

                Then configure the IP address(es) of the DNS servers you want to use.

                1 Reply Last reply
                Reply Quote 0
                • M
                  mxx
                  last edited by

                  I think there's a misunderstanding ;)
                  To clarify parts of the reasons: http://www.spamhaus.org/faq/section/DNSBL%20Usage#365

                  I always used a local bind9, but I'd rather run that on pfsense. That's why I asked about tinyDNS vs unbound in regards to this functionality.

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

                    "Then configure the IP address(es) of the DNS servers you want to use."

                    Wallabybob your clearly not understanding the question - he wants to query roots, then the authoritative NS for the domains he is looking, not some other recursive server like his isp, 4.2.2.2 or opendns, google, etc..

                    unbound can do this, I do with they would put that back - it was so nice when it was installed.  But you could always just install bind pkg on pfsense.. Just would not be managed via the gui, etc.

                    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
                    • D
                      doktornotor Banned
                      last edited by

                      @johnpoz:

                      unbound can do this, I do with they would put that back - it was so nice when it was installed.

                      There is unbound package available… so, what's the problem?

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

                        unbound did not function on 2.1, he states "is it stable enough on 2.x?" so would assume his is on 2.1

                        Has that changed - is unbound viable on 2.1 now??  If so that is great news to me.

                        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
                        • M
                          mxx
                          last edited by

                          Thanks for your replies.

                          Yes, unbound works and running stable for me since almost a week on 2.1 RC0 (using amd64 Jun 26 something at the moment).

                          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