Multiple DNS resolver instances per interface possible?



  • 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





  • @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.


  • Netgate Administrator

    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


  • LAYER 8 Global Moderator

    @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


Log in to reply