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

    Override Outgoing Interface on DNS Resolver

    DHCP and DNS
    3
    3
    320
    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.
    • F
      finack
      last edited by

      Does anybody know if there's a way to override the outgoing network interface on the DNS Resolver based on the domain name being requested?

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        Hi,

        Do you mean this : http://unbound.nlnetlabs.nl/svn/trunk/doc/example.conf.in - look for "Forward zones" ?

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

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

          You would set a domain override… It would use whatever interface it is allowed to use per routing to get there... So if you have multiple wans and you have a route to 1.2.3.4 to use gateway A then it should use that gateway to get there.

          Resolving would work the same way based upon the route to get to the authoritative ns would determine which outgoing interface would be used.

          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.7.2, 24.11

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