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

    Multiple DNS resolver instances per interface possible?

    Scheduled Pinned Locked Moved DHCP and DNS
    5 Posts 4 Posters 481 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.
    • S
      Simont65
      last edited by

      Hello,
      Is it possible to have a different DNS resolver instance depending from which interface the requests are comming a bit like DHCP is handling the different interfaces.

      The goal is to have different Host/Domain overrides tables for each interfaces.

      Thank-you

      1 Reply Last reply Reply Quote 0
      • GrimsonG
        Grimson Banned
        last edited by

        https://forum.netgate.com/topic/141381/multi-instance-resolver-or-conditional-dns-queries/2 next time don't be lazy and search yourself.

        S 1 Reply Last reply Reply Quote 0
        • S
          Simont65 @Grimson
          last edited by Simont65

          @Grimson Thank-you for the quick answer, that would do the job, but profesionalism dictate me to make sure the environment can still be maintained whenever i win the lottery or get hit by a train. Not everyone around me is at ease to dive behind the regular admin frontend.

          So, I am looking at a way to acheive this within pfSense native administration environment.

          "...next time don't be lazy and search yourself...." Congratulations, that is a very effective way to ruin the experience on this forum for a first time user.

          1 Reply Last reply Reply Quote 1
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            If you only need two different sets of responses you can run the DNS forwarder on a different port and redirect requests to it on some interfaces.

            Steve

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

              @Simont65 said in Multiple DNS resolver instances per interface possible?:

              but profesionalism dictate me to make sure the environment can still be maintained

              Not sure I agree with you, you have to assume after you win the lottery or get a better job and move on that the person they hire will not be a complete idiot ;)

              Your views can be clearly called out in the option box and seen from the gui.. Not like it hidden in some conf file they would not ever think to look in.

              Views have been around for really long time with bind. And somewhat more recent in unbound. But it very common practice for what you asking..

              I would be more worried about not doing some hack job so that when the next guy comes in he doesn't think you were a incompetent buffoon..

              If you don't do it with views either in unbound or bind - he prob going to think what an idiot... good thing he won the lottery since once they figured out he didn't have a clue they would of fired him ;) heheheheh

              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.