Override Outgoing Interface on DNS Resolver
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?
Gertjan last edited by
Do you mean this : http://unbound.nlnetlabs.nl/svn/trunk/doc/example.conf.in - look for "Forward zones" ?
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 184.108.40.206 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.