You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the destination IP will get resolved using the system resolver. However, if a --dns options is provided, onetun should resolve the destination IP using the given peer IP(s) (nameserver) instead. This is a feature in WireGuard configurations.
... Should resolve pc.intranet by querying 192.168.4.1 (through WireGuard) instead of the system resolver. It's the equivalent of setting DNS = 192.168.4.1 in a peer's wg0.conf.
Should support multiple DNS servers (prioritizing using the supplied order). Only peer IPs can be given, since onetun has no way of knowing which nameservers should be tunnelled and which shouldn't. The endpoint must have the given DNS server as an AllowedIP.
If --dns is provided and the resolution fails, onetun should fall back to the system resolver, unless --dns-strict is also passed. In that case, onetun will exclusively use the nameservers passed using --dns. If resolution fails entirely, onetun exits.
The text was updated successfully, but these errors were encountered:
Right now the destination IP will get resolved using the system resolver. However, if a
--dns
options is provided,onetun
should resolve the destination IP using the given peer IP(s) (nameserver) instead. This is a feature in WireGuard configurations.For example:
... Should resolve
pc.intranet
by querying192.168.4.1
(through WireGuard) instead of the system resolver. It's the equivalent of settingDNS = 192.168.4.1
in a peer'swg0.conf
.Should support multiple DNS servers (prioritizing using the supplied order). Only peer IPs can be given, since
onetun
has no way of knowing which nameservers should be tunnelled and which shouldn't. The endpoint must have the given DNS server as anAllowedIP
.If
--dns
is provided and the resolution fails,onetun
should fall back to the system resolver, unless--dns-strict
is also passed. In that case,onetun
will exclusively use the nameservers passed using--dns
. If resolution fails entirely,onetun
exits.The text was updated successfully, but these errors were encountered: