Open moviuro opened 1 year ago
unbound(8)
's current behavior is causing additional issues in my setup:
wg0
has a public IPv6 address and there is no default route to ::/0
via that VPN interfaceegress
interface (connected to my ISP)unbound(8)
when doing some round-robin on all available interfaces (incl. egress
and wg0
) ends up using my wg0 IPv6 from time to time to contact some DNS servers; except that the default route takes the request to the egress
interface with a wg0
address -> problem (packet gets discarded by the ISP, unbound(8)
resolves slowly)
In the end, until outgoing-interface: <if>
is implemented, I have resorted to using outgoing-interface: 192.168.1.1
:disappointed:
I need this too, because I want to route DNS requests through the VPN connection on Linux, which has an interface with a stable name (tun0) but this network interface has a different IP address each time.
Current behavior Is there a current behavior that the feature relates to? If yes, would you wish the current behavior to change?
From the manpage:
Describe the desired feature A clear and concise description of what the feature should be.
outgoing-interface
accepts interface definitions, such as:This could also be enhanced to specify if the operator wants to use IPv4 and/or IPv6 on that interface:
manpage looks like:
Potential use-case Describe how you see this feature being useful to other Unbound users.
I replaced my home router/gateway (French Livebox from Orange France) with an OpenBSD machine. Orange doesn't deliver stable IPv4 nor IPv6 addresses (DHCP & DHCPv6 woes), so I can't put
ip address
orip6 netblock
in theoutgoing-interface
settings without risking that it all breaks at some point in the future.At the moment, I could use a local address (192.168.1.1) as outgoing-interface, but it adds a layer of indirection (NAT from 192.168.1.1 to (vlan832:address)).