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

Override Outgoing Interface on DNS Resolver

Scheduled Pinned Locked Moved DHCP and DNS
3 Posts 3 Posters 321 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.
  • F
    finack
    last edited by Mar 15, 2018, 10:42 PM

    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
    • G
      Gertjan
      last edited by Mar 16, 2018, 8:56 AM

      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
      • J
        johnpoz LAYER 8 Global Moderator
        last edited by Mar 16, 2018, 9:49 AM

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

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received